and added files
[bcm963xx.git] / userapps / opensource / ipsec-tools / src / libipsec / policy_parse.h
1 /* A Bison parser, made by GNU Bison 1.875.  */
2
3 /* Skeleton parser for Yacc-like parsing with Bison,
4    Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002 Free Software Foundation, Inc.
5
6    This program is free software; you can redistribute it and/or modify
7    it under the terms of the GNU General Public License as published by
8    the Free Software Foundation; either version 2, or (at your option)
9    any later version.
10
11    This program is distributed in the hope that it will be useful,
12    but WITHOUT ANY WARRANTY; without even the implied warranty of
13    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14    GNU General Public License for more details.
15
16    You should have received a copy of the GNU General Public License
17    along with this program; if not, write to the Free Software
18    Foundation, Inc., 59 Temple Place - Suite 330,
19    Boston, MA 02111-1307, USA.  */
20
21 /* As a special exception, when this file is copied by Bison into a
22    Bison output file, you may use that output file without restriction.
23    This special exception was added by the Free Software Foundation
24    in version 1.24 of Bison.  */
25
26 /* Tokens.  */
27 #ifndef YYTOKENTYPE
28 # define YYTOKENTYPE
29    /* Put the tokens into the symbol table, so that GDB and other debuggers
30       know about them.  */
31    enum yytokentype {
32      DIR = 258,
33      PRIORITY = 259,
34      PLUS = 260,
35      PRIO_BASE = 261,
36      PRIO_OFFSET = 262,
37      ACTION = 263,
38      PROTOCOL = 264,
39      MODE = 265,
40      LEVEL = 266,
41      LEVEL_SPECIFY = 267,
42      IPADDRESS = 268,
43      ME = 269,
44      ANY = 270,
45      SLASH = 271,
46      HYPHEN = 272
47    };
48 #endif
49 #define DIR 258
50 #define PRIORITY 259
51 #define PLUS 260
52 #define PRIO_BASE 261
53 #define PRIO_OFFSET 262
54 #define ACTION 263
55 #define PROTOCOL 264
56 #define MODE 265
57 #define LEVEL 266
58 #define LEVEL_SPECIFY 267
59 #define IPADDRESS 268
60 #define ME 269
61 #define ANY 270
62 #define SLASH 271
63 #define HYPHEN 272
64
65
66
67
68 #if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED)
69 #line 130 "policy_parse.y"
70 typedef union YYSTYPE {
71         u_int num;
72         u_int32_t num32;
73         struct _val {
74                 int len;
75                 char *buf;
76         } val;
77 } YYSTYPE;
78 /* Line 1249 of yacc.c.  */
79 #line 79 "policy_parse.h"
80 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
81 # define YYSTYPE_IS_DECLARED 1
82 # define YYSTYPE_IS_TRIVIAL 1
83 #endif
84
85 extern YYSTYPE __libipseclval;
86
87
88