/* A Bison parser, made by GNU Bison 1.875c. */ /* Skeleton parser for Yacc-like parsing with Bison, Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ /* As a special exception, when this file is copied by Bison into a Bison output file, you may use that output file without restriction. This special exception was added by the Free Software Foundation in version 1.24 of Bison. */ /* Tokens. */ #ifndef YYTOKENTYPE # define YYTOKENTYPE /* Put the tokens into the symbol table, so that GDB and other debuggers know about them. */ enum yytokentype { ACCEPT_FROM_HOST_T = 258, CLASS_T = 259, COMMA = 260, EOL = 261, ISP_IP_T = 262, LISTEN_AS_HOST_T = 263, LISTEN_ON_PORT_T = 264, LISTEN_ON_USOCKET_T = 265, LOG_FLAGS_T = 266, PRIORITY_T = 267, PROBE_NAME_T = 268, PROBE_TYPE_T = 269, PROTOCOL_T = 270, READ_FROM_FILE_T = 271, POLL_DIRECTORY_T = 272, REMAINDER_T = 273, SENSOR_PROBE_T = 274, SENSOR_T = 275, ID = 276, INTERFACE = 277, IPBLOCK = 278 }; #endif #define ACCEPT_FROM_HOST_T 258 #define CLASS_T 259 #define COMMA 260 #define EOL 261 #define ISP_IP_T 262 #define LISTEN_AS_HOST_T 263 #define LISTEN_ON_PORT_T 264 #define LISTEN_ON_USOCKET_T 265 #define LOG_FLAGS_T 266 #define PRIORITY_T 267 #define PROBE_NAME_T 268 #define PROBE_TYPE_T 269 #define PROTOCOL_T 270 #define READ_FROM_FILE_T 271 #define POLL_DIRECTORY_T 272 #define REMAINDER_T 273 #define SENSOR_PROBE_T 274 #define SENSOR_T 275 #define ID 276 #define INTERFACE 277 #define IPBLOCK 278 #if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED) #line 230 "probeconfparse.y" typedef union YYSTYPE { char *string; number_list_t *u32_list; string_list_t *str_list; name_ip_pair_t *addr; wildcard_ip_list_t *omap_list; skOctetMap_t *oct_map; uint32_t u32; probe_enum_t p_type; probe_proto_t p_proto; } YYSTYPE; /* Line 1275 of yacc.c. */ #line 95 "probeconfparse.h" # define yystype YYSTYPE /* obsolescent; will be withdrawn */ # define YYSTYPE_IS_DECLARED 1 # define YYSTYPE_IS_TRIVIAL 1 #endif extern YYSTYPE yylval;