From a45e280c5814d093076048424160f03ebbec6ff4 Mon Sep 17 00:00:00 2001
From: Paul Sokolovsky <pfalcon@users.sourceforge.net>
Date: Sun, 10 Apr 2016 12:42:41 +0300
Subject: [PATCH] py/stream.h: Add bigger inventory of stream ioctl's.

---
 py/stream.h | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/py/stream.h b/py/stream.h
index 8e7f8af63..3df669fda 100644
--- a/py/stream.h
+++ b/py/stream.h
@@ -34,6 +34,12 @@
 #define MP_STREAM_FLUSH (1)
 #define MP_STREAM_SEEK  (2)
 #define MP_STREAM_POLL  (3)
+//#define MP_STREAM_CLOSE       (4)  // Not yet implemented
+#define MP_STREAM_TIMEOUT       (5)  // Get/set timeout (single op)
+#define MP_STREAM_GET_OPTS      (6)  // Get stream options
+#define MP_STREAM_SET_OPTS      (7)  // Set stream options
+#define MP_STREAM_GET_DATA_OPTS (8)  // Get data/message options
+#define MP_STREAM_SET_DATA_OPTS (9)  // Set data/message options
 
 // Argument structure for MP_STREAM_SEEK
 struct mp_stream_seek_t {
-- 
GitLab