py/stream.h: Add bigger inventory of stream ioctl's.

pull/1899/merge
Paul Sokolovsky 2016-04-10 12:42:41 +03:00
rodzic f38e8f5217
commit a45e280c58
1 zmienionych plików z 6 dodań i 0 usunięć

Wyświetl plik

@ -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 {