source: rtems-libbsd/ipsec-tools/src/racoon/prsa_par.h @ ff36f5e

55-freebsd-126-freebsd-12
Last change on this file since ff36f5e was ff36f5e, checked in by Christian Mauderer <christian.mauderer@…>, on 05/30/18 at 12:27:35

Import ipsec-tools 0.8.2.

Import unchanged ipsec-tools sources in the release version 0.8.2. The
homepage of ipsec-tools is http://ipsec-tools.sourceforge.net/. The
sources can be obtained from there.

  • Property mode set to 100644
File size: 3.4 KB
RevLine 
[ff36f5e]1/* A Bison parser, made by GNU Bison 2.6.2.  */
2
3/* Bison interface for Yacc-like parsers in C
4   
5      Copyright (C) 1984, 1989-1990, 2000-2012 Free Software Foundation, Inc.
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
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
40extern int prsadebug;
41#endif
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
98typedef union YYSTYPE
99{
100/* Line 2049 of yacc.c  */
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
110/* Line 2049 of yacc.c  */
111#line 112 "prsa_par.h"
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
118extern YYSTYPE prsalval;
119
120#ifdef YYPARSE_PARAM
121#if defined __STDC__ || defined __cplusplus
122int prsaparse (void *YYPARSE_PARAM);
123#else
124int prsaparse ();
125#endif
126#else /* ! YYPARSE_PARAM */
127#if defined __STDC__ || defined __cplusplus
128int prsaparse (void);
129#else
130int prsaparse ();
131#endif
132#endif /* ! YYPARSE_PARAM */
133
134#endif /* !PRSA_PRSA_PAR_H  */
Note: See TracBrowser for help on using the repository browser.