X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=src%2Fstream.h;h=0ea398e377fc98bf561e629ac9ce4434e4527fdc;hb=91214934fbcdfd363202a65c142194506604ff7b;hp=04134f5807f307b592adc5779eaca1208743bc00;hpb=5d71044dd816436be6c5d7a93bc87e53c94d9f31;p=projects%2Fchimara%2Fchimara.git diff --git a/src/stream.h b/src/stream.h index 04134f5..0ea398e 100644 --- a/src/stream.h +++ b/src/stream.h @@ -12,9 +12,16 @@ enum StreamType STREAM_TYPE_FILE }; +/** + * glk_stream_struct: + * + * This is an opaque structure (see + * Opaque Structures and should not be accessed directly. + */ struct glk_stream_struct { - glui32 rock; + /*< private >*/ + glui32 magic, rock; /* Pointer to the list node in the global stream list that contains this stream */ GList* stream_list; @@ -36,8 +43,10 @@ struct glk_stream_struct FILE *file_pointer; gboolean binary; gchar *filename; /* Displayable filename in UTF-8 for error handling */ + + gchar *style; /* Name of the current style */ }; -strid_t window_stream_new(winid_t window); -void stream_close_common(strid_t str, stream_result_t *result); +G_GNUC_INTERNAL strid_t window_stream_new(winid_t window); +G_GNUC_INTERNAL void stream_close_common(strid_t str, stream_result_t *result); #endif