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 1.2 1995/06/18 19:42:18 mike 15 * Remove some redundant declarations and add some prototypes 16 * 17 * Revision 1.1.1.1 1993/07/03 18:58:14 mike 18 * move source to cvs 19 * 20 * Revision 5.1 1991/12/05 07:59:22 brennan 21 * 1.1 pre-release 22 * 23 */ 24 25 /* init.h */ 26 27 28 #ifndef INIT_H 29 #define INIT_H 30 31 #include "symtype.h" 32 33 /* nodes to link file names for multiple 34 -f option */ 35 36 typedef struct pfile { 37 struct pfile *link ; 38 char *fname ; 39 } PFILE ; 40 41 extern PFILE *pfile_list ; 42 43 extern char *sprintf_buff, *sprintf_limit ; 44 45 46 void PROTO( initialize, (int, char **) ) ; 47 void PROTO( code_init, (void) ) ; 48 void PROTO( code_cleanup, (void) ) ; 49 void PROTO( compile_cleanup, (void) ) ; 50 void PROTO(scan_init, ( char *) ) ; 51 void PROTO(bi_vars_init, (void) ) ; 52 void PROTO(bi_funct_init, (void) ) ; 53 void PROTO(print_init, (void) ) ; 54 void PROTO(kw_init, (void) ) ; 55 void PROTO( field_init, (void) ) ; 56 void PROTO( fpe_init, (void) ) ; 57 void PROTO( load_environ, (ARRAY)) ; 58 void PROTO( set_stderr, (void)) ; 59 60 #endif /* INIT_H */ 61