move 32-bit libs to lib/i386 subdirs & 64-bit libs to lib/
[unleashed.git] / usr / src / cmd / ipf / tools / lexer.h
bloba296cb0bc39be2186f9a7773b4f74ad7c3f18fc6
2 typedef struct wordtab {
3 char *w_word;
4 int w_value;
5 } wordtab_t;
7 #ifdef NO_YACC
8 #define YY_COMMENT 1000
9 #define YY_CMP_NE 1001
10 #define YY_CMP_LE 1002
11 #define YY_RANGE_OUT 1003
12 #define YY_CMP_GE 1004
13 #define YY_RANGE_IN 1005
14 #define YY_HEX 1006
15 #define YY_NUMBER 1007
16 #define YY_IPV6 1008
17 #define YY_STR 1009
18 #define YY_IPADDR 1010
19 #endif
21 #define YYBUFSIZ 8192
23 extern wordtab_t *yysettab __P((wordtab_t *));
24 extern void yysetdict __P((wordtab_t *));
25 extern int yylex __P((void));
26 extern void yyerror __P((char *));
27 extern char *yykeytostr __P((int));
28 extern void yyresetdict __P((void));
30 extern FILE *yyin;
31 extern int yylineNum;
32 extern int yyexpectaddr;
33 extern int yybreakondot;
34 extern int yyvarnext;