20 * This is an opaque structure (see <link linkend="chimara-Opaque-Structures">
21 * Opaque Structures</link> and should not be accessed directly.
23 struct glk_stream_struct
27 gidispatch_rock_t disprock;
28 /* Pointer to the list node in the global stream list that contains this
31 /* Stream parameters */
36 /* Specific to window stream: the window this stream is connected to */
38 /* For memory and file streams */
40 /* Specific to memory streams */
45 gidispatch_rock_t buffer_rock;
46 /* Specific to file streams */
49 gchar *filename; /* Displayable filename in UTF-8 for error handling */
51 gchar *style; /* Name of the current style */
52 gboolean hyperlink_mode; /* WHen turned on, text written to the stream will be a hyperlink */
55 G_GNUC_INTERNAL strid_t file_stream_new(frefid_t fileref, glui32 fmode, glui32 rock, gboolean unicode);
56 G_GNUC_INTERNAL strid_t stream_new_common(glui32 rock);
57 G_GNUC_INTERNAL void stream_close_common(strid_t str, stream_result_t *result);