
/* comp_error.c */
void warning ( const char *fmt , ...);
void err_abort ( const char *fmt , ...);
void syserr_abort ( const char *fmt , ...);

/* comp_hash.c */
void make_hash_table ( void );
static int hash_function ( char *string );
struct name_table_entry *find_entry ( char *string );

/* comp_main.c */
int main ( int argc , char *argv []);
void init ( char *progname );

/* comp_parse.c */
void compile ( void );
void dump_list ( char *str );
int do_entry ( USE_ITEM *item_ptr );
void enqueue ( long offset );
void dequeue ( USE_ITEM *ptr );
void dump_structure ( short term_names , char *Booleans , short *Numbers , short *Strings );
int write_object ( FILE *fp , short term_names , char *Booleans , short *Numbers , short *Strings );
void check_name ( char *name );
int save_str ( char *string );
void init_structure ( char *Booleans , short *Numbers , short *Strings );
int handle_use ( USE_ITEM *item_ptr , long entry_offset , char *Booleans , short *Numbers , short *Strings );

/* comp_scan.c */
int get_token ( void );
char next_char ( void );
void backspace ( void );
void reset_input ( void );
char trans_string ( char *ptr );
void panic_mode ( char ch );

/* dump.c */
void main ( int argc , char *argv []);
void expand ( unsigned char *str );
void usage ( void );

/* lib_setup.c */
void use_env ( char f );
static int resize ( int fd );
int setupterm ( char *termname , int filedes , int *errret );
static void do_prototype ( void );

/* lib_tparm.c */
__inline void npush ( int x );
__inline int npop ( void );
__inline char *spop ( void );
char *tparm ( char *string , ...);
char *tgoto ( char *string , int x , int y );

/* lib_tputs.c */
int tputs ( char *string , int affcnt , int (*outc )(int ));
int putp ( char *string );

/* lib_trace.c */
void _init_trace ( void );
void traceon ( void );
void traceoff ( void );
void _tracef ( char *fmt , ...);

/* lib_unctrl.c */

/* lib_vidattr.c */
static void do_color ( int pair , int (*outc )(int ));
int vidputs ( chtype newmode , int (*outc )(int ));
int vidattr ( chtype newmode );

/* read_entry.c */
int read_entry ( char *filename , struct term *ptr );
int must_swap ( void );

/* names.c */

/* comp_captab.c */

/* resize.c */
int _main ( void );
