X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=src%2Fstream.h;h=0ea398e377fc98bf561e629ac9ce4434e4527fdc;hb=91214934fbcdfd363202a65c142194506604ff7b;hp=25c052e072fc968dae7d2c5d39dc55259d5d6aa8;hpb=904fed6618b22e84597efd60c3784e57d44f3ef1;p=projects%2Fchimara%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