1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-28 08:02:54 +00:00
freebsd/sbin/ipf/common/lexer.h
Warner Losh 2a63c3be15 Remove $FreeBSD$: one-line .c comment pattern
Remove /^/[*/]\s*\$FreeBSD\$.*\n/
2023-08-16 11:54:29 -06:00

38 lines
762 B
C

/*
* Copyright (C) 2012 by Darren Reed.
*
* See the IPFILTER.LICENCE file for details on licencing.
*/
#ifdef NO_YACC
#define YY_COMMENT 1000
#define YY_CMP_NE 1001
#define YY_CMP_LE 1002
#define YY_RANGE_OUT 1003
#define YY_CMP_GE 1004
#define YY_RANGE_IN 1005
#define YY_HEX 1006
#define YY_NUMBER 1007
#define YY_IPV6 1008
#define YY_STR 1009
#define YY_IPADDR 1010
#endif
#define YYBUFSIZ 8192
extern wordtab_t *yysettab(wordtab_t *);
extern void yysetdict(wordtab_t *);
extern void yysetfixeddict(wordtab_t *);
extern int yylex(void);
extern void yyerror(char *);
extern char *yykeytostr(int);
extern void yyresetdict(void);
extern FILE *yyin;
extern int yylineNum;
extern int yyexpectaddr;
extern int yybreakondot;
extern int yyvarnext;