and added files
[bcm963xx.git] / userapps / opensource / ipsec-tools / src / setkey / 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      EOT = 258,
33      SLASH = 259,
34      BLCL = 260,
35      ELCL = 261,
36      ADD = 262,
37      GET = 263,
38      DELETE = 264,
39      DELETEALL = 265,
40      FLUSH = 266,
41      DUMP = 267,
42      EXIT = 268,
43      PR_ESP = 269,
44      PR_AH = 270,
45      PR_IPCOMP = 271,
46      PR_ESPUDP = 272,
47      F_PROTOCOL = 273,
48      F_AUTH = 274,
49      F_ENC = 275,
50      F_REPLAY = 276,
51      F_COMP = 277,
52      F_RAWCPI = 278,
53      F_MODE = 279,
54      MODE = 280,
55      F_REQID = 281,
56      F_EXT = 282,
57      EXTENSION = 283,
58      NOCYCLICSEQ = 284,
59      ALG_AUTH = 285,
60      ALG_AUTH_NOKEY = 286,
61      ALG_ENC = 287,
62      ALG_ENC_NOKEY = 288,
63      ALG_ENC_DESDERIV = 289,
64      ALG_ENC_DES32IV = 290,
65      ALG_ENC_OLD = 291,
66      ALG_COMP = 292,
67      F_LIFETIME_HARD = 293,
68      F_LIFETIME_SOFT = 294,
69      F_LIFEBYTE_HARD = 295,
70      F_LIFEBYTE_SOFT = 296,
71      DECSTRING = 297,
72      QUOTEDSTRING = 298,
73      HEXSTRING = 299,
74      STRING = 300,
75      ANY = 301,
76      SPDADD = 302,
77      SPDDELETE = 303,
78      SPDDUMP = 304,
79      SPDFLUSH = 305,
80      F_POLICY = 306,
81      PL_REQUESTS = 307,
82      F_AIFLAGS = 308,
83      TAGGED = 309
84    };
85 #endif
86 #define EOT 258
87 #define SLASH 259
88 #define BLCL 260
89 #define ELCL 261
90 #define ADD 262
91 #define GET 263
92 #define DELETE 264
93 #define DELETEALL 265
94 #define FLUSH 266
95 #define DUMP 267
96 #define EXIT 268
97 #define PR_ESP 269
98 #define PR_AH 270
99 #define PR_IPCOMP 271
100 #define PR_ESPUDP 272
101 #define F_PROTOCOL 273
102 #define F_AUTH 274
103 #define F_ENC 275
104 #define F_REPLAY 276
105 #define F_COMP 277
106 #define F_RAWCPI 278
107 #define F_MODE 279
108 #define MODE 280
109 #define F_REQID 281
110 #define F_EXT 282
111 #define EXTENSION 283
112 #define NOCYCLICSEQ 284
113 #define ALG_AUTH 285
114 #define ALG_AUTH_NOKEY 286
115 #define ALG_ENC 287
116 #define ALG_ENC_NOKEY 288
117 #define ALG_ENC_DESDERIV 289
118 #define ALG_ENC_DES32IV 290
119 #define ALG_ENC_OLD 291
120 #define ALG_COMP 292
121 #define F_LIFETIME_HARD 293
122 #define F_LIFETIME_SOFT 294
123 #define F_LIFEBYTE_HARD 295
124 #define F_LIFEBYTE_SOFT 296
125 #define DECSTRING 297
126 #define QUOTEDSTRING 298
127 #define HEXSTRING 299
128 #define STRING 300
129 #define ANY 301
130 #define SPDADD 302
131 #define SPDDELETE 303
132 #define SPDDUMP 304
133 #define SPDFLUSH 305
134 #define F_POLICY 306
135 #define PL_REQUESTS 307
136 #define F_AIFLAGS 308
137 #define TAGGED 309
138
139
140
141
142 #if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED)
143 #line 114 "parse.y"
144 typedef union YYSTYPE {
145         int num;
146         unsigned long ulnum;
147         vchar_t val;
148         struct addrinfo *res;
149 } YYSTYPE;
150 /* Line 1249 of yacc.c.  */
151 #line 151 "parse.h"
152 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
153 # define YYSTYPE_IS_DECLARED 1
154 # define YYSTYPE_IS_TRIVIAL 1
155 #endif
156
157 extern YYSTYPE yylval;
158
159
160