X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=src%2Fstream.h;h=80df9c93e8b6ebfeb7bf3b18ae8c5b639bd0cf01;hb=2407b8e96d1a772f15eedb264117f20196fe1c51;hp=b5a1e6092edf7bed4c74eea92bbe2163cf09396c;hpb=49eca40060b04105343874714fa67976b9430def;p=rodin%2Fchimara.git diff --git a/src/stream.h b/src/stream.h index b5a1e60..80df9c9 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; @@ -22,7 +29,7 @@ struct glk_stream_struct glui32 file_mode; glui32 read_count; glui32 write_count; - enum StreamType stream_type; + enum StreamType type; /* Specific to window stream: the window this stream is connected to */ winid_t window; /* For memory and file streams */