1 /* This is a Cfunctions (version 0.24) generated header file.
2 Cfunctions is a free program for extracting headers from C files.
3 Get Cfunctions from `http://www.hayamasa.demon.co.uk/cfunctions'. */
5 /* This file was generated with:
6 `cfunctions -i io.c' */
11 typedef struct z_window * zwinid;
13 extern glsi32 bgcolortable[];
14 extern glsi32 fgcolortable[];
15 void set_glk_stream_current (void);
16 void draw_intext_picture (zwinid window , glui32 picture , glui32 alignment );
17 void draw_picture (zwinid window , glui32 picture , glui32 x , glui32 y );
18 void showstuff (const char *title , const char *type , const char *message , offset number );
19 void init_lower (zwinid *lower );
20 void init_upper (zwinid *upper );
21 void z_init_windows (BOOL dofixed , glui32 ( *draw_callback ) ( winid_t , glui32 , glui32 ) , BOOL ( *mouse_callback ) ( BOOL , winid_t , glui32 , glui32 ) , glui32 maxwidth , glui32 maxheight , zwinid *upper , zwinid *lower );
22 zwinid z_split_screen (glui32 wintype , glui32 method , glui32 ( *draw_callback ) ( winid_t , glui32 , glui32 ) , BOOL ( *mouse_callback ) ( BOOL , winid_t , glui32 , glui32 ) );
23 void z_kill_window (zwinid win );
24 void kill_windows (void);
25 void free_windows (void);
26 zwinid z_find_win (winid_t win );
27 void z_pause_timed_input (zwinid window );
28 void z_flush_all_windows (void);
29 void z_draw_all_windows (void);
30 void z_flush_fixed (zwinid window );
31 void z_flush_text (zwinid window );
32 void z_flush_graphics (zwinid window );
33 void z_print_number (zwinid window , int number );
34 void z_put_char (zwinid window , unsigned c );
35 void z_setxy (zwinid window , zword x , zword y );
36 void z_getxy (zwinid window , zword *x , zword *y );
37 void z_getsize (zwinid window , unsigned *width , unsigned *height );
38 void z_find_size (glui32 *wid , glui32 *hei );
39 void z_set_height (zwinid window , unsigned height );
40 void z_set_color (zwinid window , unsigned fore , unsigned back );
41 void z_set_style (zwinid window , int style );
42 void set_fixed (BOOL p );
43 void z_set_transcript (zwinid window , strid_t stream );
44 void z_clear_window (zwinid window );
45 void z_erase_line (zwinid window );
46 void z_wait_for_key (zwinid window );
47 zwinid check_valid_for_input (zwinid window );
48 int z_read (zwinid window , char *dest , unsigned maxlen , unsigned initlen , zword timer , BOOL ( *timer_callback ) ( zword ) , zword timer_arg , unsigned char *terminator );
49 zword z_read_char (zwinid window , zword timer , BOOL ( *timer_callback ) ( zword ) , zword timer_arg );