1 /* $FreeBSD$ */ 2 3 /* 4 * Copyright (C) 2012 by Darren Reed. 5 * 6 * See the IPFILTER.LICENCE file for details on licencing. 7 */ 8 9 #ifdef NO_YACC 10 #define YY_COMMENT 1000 11 #define YY_CMP_NE 1001 12 #define YY_CMP_LE 1002 13 #define YY_RANGE_OUT 1003 14 #define YY_CMP_GE 1004 15 #define YY_RANGE_IN 1005 16 #define YY_HEX 1006 17 #define YY_NUMBER 1007 18 #define YY_IPV6 1008 19 #define YY_STR 1009 20 #define YY_IPADDR 1010 21 #endif 22 23 #define YYBUFSIZ 8192 24 25 extern wordtab_t *yysettab(wordtab_t *); 26 extern void yysetdict(wordtab_t *); 27 extern void yysetfixeddict(wordtab_t *); 28 extern int yylex(void); 29 extern void yyerror(char *); 30 extern char *yykeytostr(int); 31 extern void yyresetdict(void); 32 33 extern FILE *yyin; 34 extern int yylineNum; 35 extern int yyexpectaddr; 36 extern int yybreakondot; 37 extern int yyvarnext; 38 39