Separated library source code from testing code, fixing #6
[projects/chimara/chimara.git] / interpreters / frotz / glkfrotz.h
1 /* glk-frotz.h
2  *
3  * Frotz os functions for the Glk library version 0.6.1.
4  */
5
6 #include "frotz.h"
7
8 #include <stdio.h>
9 #include <stdlib.h>
10 #include <errno.h>
11 #include <string.h>
12 #include <ctype.h>
13 #include <time.h>
14
15 #include <libchimara/glk.h>
16
17 extern int curr_status_ht;
18 extern int mach_status_ht;
19
20 extern winid_t gos_status;
21 extern winid_t gos_upper;
22 extern winid_t gos_lower;
23 extern winid_t gos_curwin;
24 extern int gos_linepending;
25 extern char *gos_linebuf;
26 extern winid_t gos_linewin;
27
28 extern schanid_t gos_channel;
29
30 /* from ../common/setup.h */
31 extern f_setup_t f_setup;
32
33 /* From input.c.  */
34 bool is_terminator (zchar);
35
36 /* from glkstuff */
37 void gos_update_width(void);
38 void gos_cancel_pending_line(void);
39 void reset_status_ht(void);
40