Annotation of embedaddon/ipsec-tools/src/racoon/prsa_par.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 PRSA_PRSA_PAR_H
        !            34: # define PRSA_PRSA_PAR_H
        !            35: /* Enabling traces.  */
        !            36: #ifndef YYDEBUG
        !            37: # define YYDEBUG 0
        !            38: #endif
        !            39: #if YYDEBUG
        !            40: extern int prsadebug;
        !            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:      COLON = 258,
                     50:      HEX = 259,
                     51:      OBRACE = 260,
                     52:      EBRACE = 261,
                     53:      TAG_RSA = 262,
                     54:      TAG_PUB = 263,
                     55:      TAG_PSK = 264,
                     56:      MODULUS = 265,
                     57:      PUBLIC_EXPONENT = 266,
                     58:      PRIVATE_EXPONENT = 267,
                     59:      PRIME1 = 268,
                     60:      PRIME2 = 269,
                     61:      EXPONENT1 = 270,
                     62:      EXPONENT2 = 271,
                     63:      COEFFICIENT = 272,
                     64:      ADDR4 = 273,
                     65:      ADDR6 = 274,
                     66:      ADDRANY = 275,
                     67:      SLASH = 276,
                     68:      NUMBER = 277,
                     69:      BASE64 = 278
                     70:    };
                     71: #endif
                     72: /* Tokens.  */
                     73: #define COLON 258
                     74: #define HEX 259
                     75: #define OBRACE 260
                     76: #define EBRACE 261
                     77: #define TAG_RSA 262
                     78: #define TAG_PUB 263
                     79: #define TAG_PSK 264
                     80: #define MODULUS 265
                     81: #define PUBLIC_EXPONENT 266
                     82: #define PRIVATE_EXPONENT 267
                     83: #define PRIME1 268
                     84: #define PRIME2 269
                     85: #define EXPONENT1 270
                     86: #define EXPONENT2 271
                     87: #define COEFFICIENT 272
                     88: #define ADDR4 273
                     89: #define ADDR6 274
                     90: #define ADDRANY 275
                     91: #define SLASH 276
                     92: #define NUMBER 277
                     93: #define BASE64 278
                     94: 
                     95: 
                     96: 
                     97: #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
                     98: typedef union YYSTYPE
                     99: {
1.1.1.2 ! misho     100: /* Line 2049 of yacc.c  */
1.1       misho     101: #line 130 "prsa_par.y"
                    102: 
                    103:        BIGNUM *bn;
                    104:        RSA *rsa;
                    105:        char *chr;
                    106:        long num;
                    107:        struct netaddr *naddr;
                    108: 
                    109: 
1.1.1.2 ! misho     110: /* Line 2049 of yacc.c  */
        !           111: #line 112 "prsa_par.h"
1.1       misho     112: } YYSTYPE;
                    113: # define YYSTYPE_IS_TRIVIAL 1
                    114: # define yystype YYSTYPE /* obsolescent; will be withdrawn */
                    115: # define YYSTYPE_IS_DECLARED 1
                    116: #endif
                    117: 
                    118: extern YYSTYPE prsalval;
                    119: 
1.1.1.2 ! misho     120: #ifdef YYPARSE_PARAM
        !           121: #if defined __STDC__ || defined __cplusplus
        !           122: int prsaparse (void *YYPARSE_PARAM);
        !           123: #else
        !           124: int prsaparse ();
        !           125: #endif
        !           126: #else /* ! YYPARSE_PARAM */
        !           127: #if defined __STDC__ || defined __cplusplus
        !           128: int prsaparse (void);
        !           129: #else
        !           130: int prsaparse ();
        !           131: #endif
        !           132: #endif /* ! YYPARSE_PARAM */
1.1       misho     133: 
1.1.1.2 ! misho     134: #endif /* !PRSA_PRSA_PAR_H  */

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