summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/input/net_buf_ctrl.c7
-rw-r--r--src/input/net_buf_ctrl.h4
2 files changed, 11 insertions, 0 deletions
diff --git a/src/input/net_buf_ctrl.c b/src/input/net_buf_ctrl.c
index 12ede3d53..e31049284 100644
--- a/src/input/net_buf_ctrl.c
+++ b/src/input/net_buf_ctrl.c
@@ -132,3 +132,10 @@ nbc_t *nbc_init (xine_stream_t *stream) {
return this;
}
+void nbc_set_high_water_mark(nbc_t *this, int value) {
+ this->high_water_mark = value;
+}
+
+void nbc_set_low_water_mark(nbc_t *this, int value) {
+ this->low_water_mark = value;
+}
diff --git a/src/input/net_buf_ctrl.h b/src/input/net_buf_ctrl.h
index 0f6e515c6..8f5f96570 100644
--- a/src/input/net_buf_ctrl.h
+++ b/src/input/net_buf_ctrl.h
@@ -33,4 +33,8 @@ void nbc_check_buffers (nbc_t *this);
void nbc_close (nbc_t *this);
+void nbc_set_high_water_mark(nbc_t *this, int value);
+
+void nbc_set_low_water_mark(nbc_t *this, int value);
+
#endif