diff options
Diffstat (limited to 'stream/stream.h')
-rw-r--r-- | stream/stream.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/stream/stream.h b/stream/stream.h index 5fc4c58579..ec0059e451 100644 --- a/stream/stream.h +++ b/stream/stream.h @@ -110,13 +110,14 @@ struct stream; typedef struct stream_info_st { const char *name; // opts is set from ->opts - int (*open)(struct stream *st, int mode); + int (*open)(struct stream *st); const char **protocols; int priv_size; const void *priv_defaults; const struct m_option *options; const char **url_options; bool stream_filter; + bool can_write; } stream_info_t; typedef struct stream { |