Skip to content

Commit a45e280

Browse files
committed
py/stream.h: Add bigger inventory of stream ioctl's.
1 parent f38e8f5 commit a45e280

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

py/stream.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,12 @@
3434
#define MP_STREAM_FLUSH (1)
3535
#define MP_STREAM_SEEK (2)
3636
#define MP_STREAM_POLL (3)
37+
//#define MP_STREAM_CLOSE (4) // Not yet implemented
38+
#define MP_STREAM_TIMEOUT (5) // Get/set timeout (single op)
39+
#define MP_STREAM_GET_OPTS (6) // Get stream options
40+
#define MP_STREAM_SET_OPTS (7) // Set stream options
41+
#define MP_STREAM_GET_DATA_OPTS (8) // Get data/message options
42+
#define MP_STREAM_SET_DATA_OPTS (9) // Set data/message options
3743

3844
// Argument structure for MP_STREAM_SEEK
3945
struct mp_stream_seek_t {

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy