X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=src%2Fstream.h;h=0ea398e377fc98bf561e629ac9ce4434e4527fdc;hb=753658fb32fd78c0887e018892a0ad91b424e728;hp=25c052e072fc968dae7d2c5d39dc55259d5d6aa8;hpb=062bbb9e7322c8e3f5162f86fc2f93bfc587b830;p=rodin%2Fchimara.git diff --git a/src/stream.h b/src/stream.h index 25c052e..0ea398e 100644 --- a/src/stream.h +++ b/src/stream.h @@ -21,7 +21,7 @@ enum StreamType struct glk_stream_struct { /*< private >*/ - glui32 rock; + glui32 magic, rock; /* Pointer to the list node in the global stream list that contains this stream */ GList* stream_list; @@ -43,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