1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258
|
/* A Bison parser, made by GNU Bison 2.6.1. */
/* Bison interface for Yacc-like parsers in C
Copyright (C) 1984, 1989-1990, 2000-2012 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* As a special exception, you may create a larger work that contains
part or all of the Bison parser skeleton and distribute that work
under terms of your choice, so long as that work isn't itself a
parser generator using the skeleton or a modified version thereof
as a parser skeleton. Alternatively, if you modify or redistribute
the parser skeleton itself, you may (at your option) remove this
special exception, which will cause the skeleton and the resulting
Bison output files to be licensed under the GNU General Public
License without this special exception.
This special exception was added by the Free Software Foundation in
version 2.2 of Bison. */
#ifndef YY_ZPARSER_H
# define YY_ZPARSER_H
/* Enabling traces. */
#ifndef YYDEBUG
# define YYDEBUG 0
#endif
#if YYDEBUG
extern int yydebug;
#endif
/* Tokens. */
#ifndef YYTOKENTYPE
# define YYTOKENTYPE
/* Put the tokens into the symbol table, so that GDB and other debuggers
know about them. */
enum yytokentype {
T_A = 258,
T_NS = 259,
T_MX = 260,
T_TXT = 261,
T_CNAME = 262,
T_AAAA = 263,
T_PTR = 264,
T_NXT = 265,
T_KEY = 266,
T_SOA = 267,
T_SIG = 268,
T_SRV = 269,
T_CERT = 270,
T_LOC = 271,
T_MD = 272,
T_MF = 273,
T_MB = 274,
T_MG = 275,
T_MR = 276,
T_NULL = 277,
T_WKS = 278,
T_HINFO = 279,
T_MINFO = 280,
T_RP = 281,
T_AFSDB = 282,
T_X25 = 283,
T_ISDN = 284,
T_RT = 285,
T_NSAP = 286,
T_NSAP_PTR = 287,
T_PX = 288,
T_GPOS = 289,
T_EID = 290,
T_NIMLOC = 291,
T_ATMA = 292,
T_NAPTR = 293,
T_KX = 294,
T_A6 = 295,
T_DNAME = 296,
T_SINK = 297,
T_OPT = 298,
T_APL = 299,
T_UINFO = 300,
T_UID = 301,
T_GID = 302,
T_UNSPEC = 303,
T_TKEY = 304,
T_TSIG = 305,
T_IXFR = 306,
T_AXFR = 307,
T_MAILB = 308,
T_MAILA = 309,
T_DS = 310,
T_DLV = 311,
T_SSHFP = 312,
T_RRSIG = 313,
T_NSEC = 314,
T_DNSKEY = 315,
T_SPF = 316,
T_NSEC3 = 317,
T_IPSECKEY = 318,
T_DHCID = 319,
T_NSEC3PARAM = 320,
T_TLSA = 321,
T_NID = 322,
T_L32 = 323,
T_L64 = 324,
T_LP = 325,
T_EUI48 = 326,
T_EUI64 = 327,
T_CAA = 328,
DOLLAR_TTL = 329,
DOLLAR_ORIGIN = 330,
NL = 331,
SP = 332,
STR = 333,
PREV = 334,
BITLAB = 335,
T_TTL = 336,
T_RRCLASS = 337,
URR = 338,
T_UTYPE = 339
};
#endif
/* Tokens. */
#define T_A 258
#define T_NS 259
#define T_MX 260
#define T_TXT 261
#define T_CNAME 262
#define T_AAAA 263
#define T_PTR 264
#define T_NXT 265
#define T_KEY 266
#define T_SOA 267
#define T_SIG 268
#define T_SRV 269
#define T_CERT 270
#define T_LOC 271
#define T_MD 272
#define T_MF 273
#define T_MB 274
#define T_MG 275
#define T_MR 276
#define T_NULL 277
#define T_WKS 278
#define T_HINFO 279
#define T_MINFO 280
#define T_RP 281
#define T_AFSDB 282
#define T_X25 283
#define T_ISDN 284
#define T_RT 285
#define T_NSAP 286
#define T_NSAP_PTR 287
#define T_PX 288
#define T_GPOS 289
#define T_EID 290
#define T_NIMLOC 291
#define T_ATMA 292
#define T_NAPTR 293
#define T_KX 294
#define T_A6 295
#define T_DNAME 296
#define T_SINK 297
#define T_OPT 298
#define T_APL 299
#define T_UINFO 300
#define T_UID 301
#define T_GID 302
#define T_UNSPEC 303
#define T_TKEY 304
#define T_TSIG 305
#define T_IXFR 306
#define T_AXFR 307
#define T_MAILB 308
#define T_MAILA 309
#define T_DS 310
#define T_DLV 311
#define T_SSHFP 312
#define T_RRSIG 313
#define T_NSEC 314
#define T_DNSKEY 315
#define T_SPF 316
#define T_NSEC3 317
#define T_IPSECKEY 318
#define T_DHCID 319
#define T_NSEC3PARAM 320
#define T_TLSA 321
#define T_NID 322
#define T_L32 323
#define T_L64 324
#define T_LP 325
#define T_EUI48 326
#define T_EUI64 327
#define T_CAA 328
#define DOLLAR_TTL 329
#define DOLLAR_ORIGIN 330
#define NL 331
#define SP 332
#define STR 333
#define PREV 334
#define BITLAB 335
#define T_TTL 336
#define T_RRCLASS 337
#define URR 338
#define T_UTYPE 339
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
typedef union YYSTYPE
{
/* Line 2049 of yacc.c */
#line 50 "zparser.y"
domain_type *domain;
const dname_type *dname;
struct lex_data data;
uint32_t ttl;
uint16_t klass;
uint16_t type;
uint16_t *unknown;
/* Line 2049 of yacc.c */
#line 236 "zparser.h"
} YYSTYPE;
# define YYSTYPE_IS_TRIVIAL 1
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
# define YYSTYPE_IS_DECLARED 1
#endif
extern YYSTYPE yylval;
#ifdef YYPARSE_PARAM
#if defined __STDC__ || defined __cplusplus
int yyparse (void *YYPARSE_PARAM);
#else
int yyparse ();
#endif
#else /* ! YYPARSE_PARAM */
#if defined __STDC__ || defined __cplusplus
int yyparse (void);
#else
int yyparse ();
#endif
#endif /* ! YYPARSE_PARAM */
#endif /* !YY_ZPARSER_H */
|