diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2016-04-10 12:42:41 +0300 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2016-04-10 12:42:41 +0300 |
commit | a45e280c5814d093076048424160f03ebbec6ff4 (patch) | |
tree | 4c32dcf5f6082eb1edf11f9f0824a941effc89dd /py | |
parent | f38e8f5217be0a3195ebc1aa73d473b0841543cc (diff) | |
download | micropython-a45e280c5814d093076048424160f03ebbec6ff4.tar.gz micropython-a45e280c5814d093076048424160f03ebbec6ff4.zip |
py/stream.h: Add bigger inventory of stream ioctl's.
Diffstat (limited to 'py')
-rw-r--r-- | py/stream.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/py/stream.h b/py/stream.h index 8e7f8af631..3df669fdac 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 { |