Annotation of embedaddon/ipsec-tools/src/setkey/parse.h, revision 1.1.1.2

1.1.1.2 ! misho       1: /* A Bison parser, made by GNU Bison 2.6.2.  */
1.1       misho       2: 
1.1.1.2 ! misho       3: /* Bison interface for Yacc-like parsers in C
1.1       misho       4:    
1.1.1.2 ! misho       5:       Copyright (C) 1984, 1989-1990, 2000-2012 Free Software Foundation, Inc.
1.1       misho       6:    
                      7:    This program is free software: you can redistribute it and/or modify
                      8:    it under the terms of the GNU General Public License as published by
                      9:    the Free Software Foundation, either version 3 of the License, or
                     10:    (at your option) any later version.
                     11:    
                     12:    This program is distributed in the hope that it will be useful,
                     13:    but WITHOUT ANY WARRANTY; without even the implied warranty of
                     14:    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
                     15:    GNU General Public License for more details.
                     16:    
                     17:    You should have received a copy of the GNU General Public License
                     18:    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
                     19: 
                     20: /* As a special exception, you may create a larger work that contains
                     21:    part or all of the Bison parser skeleton and distribute that work
                     22:    under terms of your choice, so long as that work isn't itself a
                     23:    parser generator using the skeleton or a modified version thereof
                     24:    as a parser skeleton.  Alternatively, if you modify or redistribute
                     25:    the parser skeleton itself, you may (at your option) remove this
                     26:    special exception, which will cause the skeleton and the resulting
                     27:    Bison output files to be licensed under the GNU General Public
                     28:    License without this special exception.
                     29:    
                     30:    This special exception was added by the Free Software Foundation in
                     31:    version 2.2 of Bison.  */
                     32: 
1.1.1.2 ! misho      33: #ifndef YY_PARSE_H
        !            34: # define YY_PARSE_H
        !            35: /* Enabling traces.  */
        !            36: #ifndef YYDEBUG
        !            37: # define YYDEBUG 0
        !            38: #endif
        !            39: #if YYDEBUG
        !            40: extern int yydebug;
        !            41: #endif
1.1       misho      42: 
                     43: /* Tokens.  */
                     44: #ifndef YYTOKENTYPE
                     45: # define YYTOKENTYPE
                     46:    /* Put the tokens into the symbol table, so that GDB and other debuggers
                     47:       know about them.  */
                     48:    enum yytokentype {
                     49:      EOT = 258,
                     50:      SLASH = 259,
                     51:      BLCL = 260,
                     52:      ELCL = 261,
                     53:      ADD = 262,
                     54:      GET = 263,
                     55:      DELETE = 264,
                     56:      DELETEALL = 265,
                     57:      FLUSH = 266,
                     58:      DUMP = 267,
                     59:      EXIT = 268,
                     60:      PR_ESP = 269,
                     61:      PR_AH = 270,
                     62:      PR_IPCOMP = 271,
                     63:      PR_ESPUDP = 272,
                     64:      PR_TCP = 273,
                     65:      F_PROTOCOL = 274,
                     66:      F_AUTH = 275,
                     67:      F_ENC = 276,
                     68:      F_REPLAY = 277,
                     69:      F_COMP = 278,
                     70:      F_RAWCPI = 279,
                     71:      F_MODE = 280,
                     72:      MODE = 281,
                     73:      F_REQID = 282,
                     74:      F_EXT = 283,
                     75:      EXTENSION = 284,
                     76:      NOCYCLICSEQ = 285,
                     77:      ALG_AUTH = 286,
                     78:      ALG_AUTH_NOKEY = 287,
                     79:      ALG_ENC = 288,
                     80:      ALG_ENC_NOKEY = 289,
                     81:      ALG_ENC_DESDERIV = 290,
                     82:      ALG_ENC_DES32IV = 291,
                     83:      ALG_ENC_OLD = 292,
                     84:      ALG_COMP = 293,
                     85:      F_LIFETIME_HARD = 294,
                     86:      F_LIFETIME_SOFT = 295,
                     87:      F_LIFEBYTE_HARD = 296,
                     88:      F_LIFEBYTE_SOFT = 297,
                     89:      DECSTRING = 298,
                     90:      QUOTEDSTRING = 299,
                     91:      HEXSTRING = 300,
                     92:      STRING = 301,
                     93:      ANY = 302,
                     94:      SPDADD = 303,
                     95:      SPDUPDATE = 304,
                     96:      SPDDELETE = 305,
                     97:      SPDDUMP = 306,
                     98:      SPDFLUSH = 307,
                     99:      F_POLICY = 308,
                    100:      PL_REQUESTS = 309,
                    101:      F_AIFLAGS = 310,
                    102:      TAGGED = 311,
                    103:      SECURITY_CTX = 312
                    104:    };
                    105: #endif
                    106: /* Tokens.  */
                    107: #define EOT 258
                    108: #define SLASH 259
                    109: #define BLCL 260
                    110: #define ELCL 261
                    111: #define ADD 262
                    112: #define GET 263
                    113: #define DELETE 264
                    114: #define DELETEALL 265
                    115: #define FLUSH 266
                    116: #define DUMP 267
                    117: #define EXIT 268
                    118: #define PR_ESP 269
                    119: #define PR_AH 270
                    120: #define PR_IPCOMP 271
                    121: #define PR_ESPUDP 272
                    122: #define PR_TCP 273
                    123: #define F_PROTOCOL 274
                    124: #define F_AUTH 275
                    125: #define F_ENC 276
                    126: #define F_REPLAY 277
                    127: #define F_COMP 278
                    128: #define F_RAWCPI 279
                    129: #define F_MODE 280
                    130: #define MODE 281
                    131: #define F_REQID 282
                    132: #define F_EXT 283
                    133: #define EXTENSION 284
                    134: #define NOCYCLICSEQ 285
                    135: #define ALG_AUTH 286
                    136: #define ALG_AUTH_NOKEY 287
                    137: #define ALG_ENC 288
                    138: #define ALG_ENC_NOKEY 289
                    139: #define ALG_ENC_DESDERIV 290
                    140: #define ALG_ENC_DES32IV 291
                    141: #define ALG_ENC_OLD 292
                    142: #define ALG_COMP 293
                    143: #define F_LIFETIME_HARD 294
                    144: #define F_LIFETIME_SOFT 295
                    145: #define F_LIFEBYTE_HARD 296
                    146: #define F_LIFEBYTE_SOFT 297
                    147: #define DECSTRING 298
                    148: #define QUOTEDSTRING 299
                    149: #define HEXSTRING 300
                    150: #define STRING 301
                    151: #define ANY 302
                    152: #define SPDADD 303
                    153: #define SPDUPDATE 304
                    154: #define SPDDELETE 305
                    155: #define SPDDUMP 306
                    156: #define SPDFLUSH 307
                    157: #define F_POLICY 308
                    158: #define PL_REQUESTS 309
                    159: #define F_AIFLAGS 310
                    160: #define TAGGED 311
                    161: #define SECURITY_CTX 312
                    162: 
                    163: 
                    164: 
                    165: #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
                    166: typedef union YYSTYPE
                    167: {
1.1.1.2 ! misho     168: /* Line 2049 of yacc.c  */
1.1       misho     169: #line 110 "parse.y"
                    170: 
                    171:        int num;
                    172:        unsigned long ulnum;
                    173:        vchar_t val;
                    174:        struct addrinfo *res;
                    175: 
                    176: 
1.1.1.2 ! misho     177: /* Line 2049 of yacc.c  */
        !           178: #line 179 "parse.h"
1.1       misho     179: } YYSTYPE;
                    180: # define YYSTYPE_IS_TRIVIAL 1
                    181: # define yystype YYSTYPE /* obsolescent; will be withdrawn */
                    182: # define YYSTYPE_IS_DECLARED 1
                    183: #endif
                    184: 
                    185: extern YYSTYPE yylval;
                    186: 
1.1.1.2 ! misho     187: #ifdef YYPARSE_PARAM
        !           188: #if defined __STDC__ || defined __cplusplus
        !           189: int yyparse (void *YYPARSE_PARAM);
        !           190: #else
        !           191: int yyparse ();
        !           192: #endif
        !           193: #else /* ! YYPARSE_PARAM */
        !           194: #if defined __STDC__ || defined __cplusplus
        !           195: int yyparse (void);
        !           196: #else
        !           197: int yyparse ();
        !           198: #endif
        !           199: #endif /* ! YYPARSE_PARAM */
1.1       misho     200: 
1.1.1.2 ! misho     201: #endif /* !YY_PARSE_H  */

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>