X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=libchimara%2Fstream.h;h=9636fac2c49b3c853c04ed9bbf522ae5cdfa0a42;hb=d0d1517f5447d0bd95c6b9769a92054f4c7fcaae;hp=1f9f3c82596e4f45222bcca3a660bb0741108c7f;hpb=5dbff897e1cb399d36a0c986110bee0bd3d1c153;p=rodin%2Fchimara.git diff --git a/libchimara/stream.h b/libchimara/stream.h index 1f9f3c8..9636fac 100644 --- a/libchimara/stream.h +++ b/libchimara/stream.h @@ -3,6 +3,7 @@ #include #include "glk.h" +#include "gi_dispa.h" #include "window.h" #include "fileref.h" @@ -23,6 +24,7 @@ struct glk_stream_struct { /*< private >*/ glui32 magic, rock; + gidispatch_rock_t disprock; /* Pointer to the list node in the global stream list that contains this stream */ GList* stream_list; @@ -40,6 +42,7 @@ struct glk_stream_struct glui32 *ubuffer; glui32 mark; glui32 buflen; + gidispatch_rock_t buffer_rock; /* Specific to file streams */ FILE *file_pointer; gboolean binary; @@ -48,8 +51,8 @@ struct glk_stream_struct gchar *style; /* Name of the current style */ }; -G_GNUC_INTERNAL strid_t window_stream_new(winid_t window); G_GNUC_INTERNAL strid_t file_stream_new(frefid_t fileref, glui32 fmode, glui32 rock, gboolean unicode); +G_GNUC_INTERNAL strid_t stream_new_common(glui32 rock); G_GNUC_INTERNAL void stream_close_common(strid_t str, stream_result_t *result); #endif