Logo Search packages:      
Sourcecode: wflogs version File versions  Download package

filter_y.h

/* A Bison parser, made by GNU Bison 1.875a.  */

/* 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 {
     ALL = 258,
     NULLNETWORK = 259,
     NOT = 260,
     PROTO = 261,
     IPADDR = 262,
     IPNET = 263,
     MACADDR = 264,
     INTNUM = 265,
     NAME = 266,
     STRING = 267,
     IP = 268,
     UDP = 269,
     TCP = 270,
     ICMP = 271,
     TCP_FLAGS = 272,
     LE_OP = 273,
     GE_OP = 274,
     EQ_OP = 275,
     NE_OP = 276,
     REG_OP = 277,
     LAND_OP = 278,
     LOR_OP = 279,
     IDENTIFIER = 280,
     STRING_LITERAL = 281,
     STRING_REGEXP = 282,
     DATE_STRING = 283
   };
#endif
#define ALL 258
#define NULLNETWORK 259
#define NOT 260
#define PROTO 261
#define IPADDR 262
#define IPNET 263
#define MACADDR 264
#define INTNUM 265
#define NAME 266
#define STRING 267
#define IP 268
#define UDP 269
#define TCP 270
#define ICMP 271
#define TCP_FLAGS 272
#define LE_OP 273
#define GE_OP 274
#define EQ_OP 275
#define NE_OP 276
#define REG_OP 277
#define LAND_OP 278
#define LOR_OP 279
#define IDENTIFIER 280
#define STRING_LITERAL 281
#define STRING_REGEXP 282
#define DATE_STRING 283




#if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED)
#line 69 "filter_y.yy"
typedef union YYSTYPE {
  int intval;
  char* str;
  wf_ipaddr* ipaddr;
  wf_network* network;
  wf_macaddr* macaddr;
  exprnode* node;
  enum filter_op_unary unary;
} YYSTYPE;
/* Line 1240 of yacc.c.  */
#line 103 "y.tab.h"
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
# define YYSTYPE_IS_DECLARED 1
# define YYSTYPE_IS_TRIVIAL 1
#endif

extern YYSTYPE yylval;




Generated by  Doxygen 1.6.0   Back to index