X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=src%2Fstream.h;h=04134f5807f307b592adc5779eaca1208743bc00;hb=5d71044dd816436be6c5d7a93bc87e53c94d9f31;hp=73c46d706de08048a536abc57eef55a608c884be;hpb=d7b854580e288ecab39bc1ab40818060037ebdc9;p=projects%2Fchimara%2Fchimara.git diff --git a/src/stream.h b/src/stream.h index 73c46d7..04134f5 100644 --- a/src/stream.h +++ b/src/stream.h @@ -22,7 +22,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 */ @@ -39,5 +39,5 @@ struct glk_stream_struct }; strid_t window_stream_new(winid_t window); - +void stream_close_common(strid_t str, stream_result_t *result); #endif