File: init.h

package info (click to toggle)
mawk 1.3.4.20260302-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,244 kB
  • sloc: ansic: 19,997; sh: 4,627; yacc: 1,182; awk: 903; makefile: 301
file content (58 lines) | stat: -rw-r--r-- 1,174 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
/********************************************
init.h
copyright 2009-2024,2026, Thomas E. Dickey
copyright 1991, Michael D. Brennan

This is a source file for mawk, an implementation of
the AWK programming language.

Mawk is distributed without warranty under the terms of
the GNU General Public License, version 2, 1991.
********************************************/

/*
 * $MawkId: init.h,v 1.10 2026/01/16 23:53:35 tom Exp $
 */

/* init.h  */

#ifndef  INIT_H
#define  INIT_H

#include <stdio.h>
#include <symtype.h>

/* nodes to link file names for multiple
   -f option */

typedef struct _pfile
#ifdef Visible_PFILE
{
    struct _pfile *link;
    char *fname;
}
#endif
PFILE;

extern PFILE *pfile_list;

extern char *sprintf_buff, *sprintf_limit;

void initialize(int, char **);
void code_init(void);
void code_cleanup(void);
void compile_cleanup(void);
void scan_init(const char *);
void bi_vars_init(void);
void bi_funct_init(void);
void print_init(void);
void kw_init(void);
void field_init(void);
void fpe_init(void);
void load_environ(ARRAY);
void set_stdio(void);

 GCC_NORETURN void print_version(FILE *fp);
int is_cmdline_assign(char *);

#endif /* INIT_H  */