1 2 /******************************************** 3 init.h 4 copyright 1991, Michael D. Brennan 5 6 This is a source file for mawk, an implementation of 7 the AWK programming language. 8 9 Mawk is distributed without warranty under the terms of 10 the GNU General Public License, version 2, 1991. 11 ********************************************/ 12 13 /* $Log: init.h,v $ 14 * Revision 5.1 1991/12/05 07:59:22 brennan 15 * 1.1 pre-release 16 * 17 */ 18 19 /* init.h */ 20 21 22 #ifndef INIT_H 23 #define INIT_H 24 25 #include "symtype.h" 26 27 /* nodes to link file names for multiple 28 -f option */ 29 30 typedef struct pfile { 31 struct pfile *link ; 32 char *fname ; 33 } PFILE ; 34 35 extern PFILE *pfile_list ; 36 37 extern char *sprintf_buff, *sprintf_limit ; 38 39 40 void PROTO( initialize, (int, char **) ) ; 41 void PROTO( code_init, (void) ) ; 42 void PROTO( code_cleanup, (void) ) ; 43 void PROTO( compile_cleanup, (void) ) ; 44 void PROTO(scan_init, ( char *) ) ; 45 void PROTO(scan_cleanup, (void) ) ; 46 void PROTO(bi_vars_init, (void) ) ; 47 void PROTO(bi_funct_init, (void) ) ; 48 void PROTO(print_init, (void) ) ; 49 void PROTO(kw_init, (void) ) ; 50 void PROTO( field_init, (void) ) ; 51 void PROTO( fpe_init, (void) ) ; 52 void PROTO( load_environ, (ARRAY)) ; 53 void PROTO( set_stderr, (void)) ; 54 55 #endif /* INIT_H */ 56