From b7030fa1b889047c2a55d47352cb886a2d8fa2cc Mon Sep 17 00:00:00 2001 From: Damien George Date: Thu, 22 Feb 2024 16:56:37 +1100 Subject: [PATCH] py/stream: Add MP_STREAM_INIT_READER ioctl value. Signed-off-by: Damien George --- py/stream.h | 1 + 1 file changed, 1 insertion(+) diff --git a/py/stream.h b/py/stream.h index e6e6f283df..ba41681dda 100644 --- a/py/stream.h +++ b/py/stream.h @@ -44,6 +44,7 @@ #define MP_STREAM_SET_DATA_OPTS (9) // Set data/message options #define MP_STREAM_GET_FILENO (10) // Get fileno of underlying file #define MP_STREAM_GET_BUFFER_SIZE (11) // Get preferred buffer size for file +#define MP_STREAM_INIT_READER (12) // Initialise a mp_reader_t for this stream // These poll ioctl values are compatible with Linux #define MP_STREAM_POLL_RD (0x0001)