"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "zparser.h" between
nsd-4.3.5.tar.gz and nsd-4.3.6.tar.gz

About: NSD is an authoritative only, high performance, simple name server daemon.

zparser.h  (nsd-4.3.5):zparser.h  (nsd-4.3.6)
/* A Bison parser, made by GNU Bison 3.4.1. */ /* A Bison parser, made by GNU Bison 3.6.4. */
/* Bison interface for Yacc-like parsers in C /* Bison interface for Yacc-like parsers in C
Copyright (C) 1984, 1989-1990, 2000-2015, 2018-2019 Free Software Foundation, Copyright (C) 1984, 1989-1990, 2000-2015, 2018-2020 Free Software Foundation,
Inc. Inc.
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or the Free Software Foundation, either version 3 of the License, or
(at your option) any later version. (at your option) any later version.
This program is distributed in the hope that it will be useful, This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
skipping to change at line 34 skipping to change at line 34
parser generator using the skeleton or a modified version thereof parser generator using the skeleton or a modified version thereof
as a parser skeleton. Alternatively, if you modify or redistribute as a parser skeleton. Alternatively, if you modify or redistribute
the parser skeleton itself, you may (at your option) remove this the parser skeleton itself, you may (at your option) remove this
special exception, which will cause the skeleton and the resulting special exception, which will cause the skeleton and the resulting
Bison output files to be licensed under the GNU General Public Bison output files to be licensed under the GNU General Public
License without this special exception. License without this special exception.
This special exception was added by the Free Software Foundation in This special exception was added by the Free Software Foundation in
version 2.2 of Bison. */ version 2.2 of Bison. */
/* Undocumented macros, especially those whose name start with YY_, /* DO NOT RELY ON FEATURES THAT ARE NOT DOCUMENTED in the manual,
are private implementation details. Do not rely on them. */ especially those whose name start with YY_ or yy_. They are
private implementation details that can be changed or removed. */
#ifndef YY_YY_ZPARSER_H_INCLUDED #ifndef YY_YY_ZPARSER_H_INCLUDED
# define YY_YY_ZPARSER_H_INCLUDED # define YY_YY_ZPARSER_H_INCLUDED
/* Debug traces. */ /* Debug traces. */
#ifndef YYDEBUG #ifndef YYDEBUG
# define YYDEBUG 0 # define YYDEBUG 0
#endif #endif
#if YYDEBUG #if YYDEBUG
extern int yydebug; extern int yydebug;
#endif #endif
/* Token type. */ /* Token kinds. */
#ifndef YYTOKENTYPE #ifndef YYTOKENTYPE
# define YYTOKENTYPE # define YYTOKENTYPE
enum yytokentype enum yytokentype
{ {
T_A = 258, YYEMPTY = -2,
T_NS = 259, YYEOF = 0, /* "end of file" */
T_MX = 260, YYerror = 256, /* error */
T_TXT = 261, YYUNDEF = 257, /* "invalid token" */
T_CNAME = 262, T_A = 258, /* T_A */
T_AAAA = 263, T_NS = 259, /* T_NS */
T_PTR = 264, T_MX = 260, /* T_MX */
T_NXT = 265, T_TXT = 261, /* T_TXT */
T_KEY = 266, T_CNAME = 262, /* T_CNAME */
T_SOA = 267, T_AAAA = 263, /* T_AAAA */
T_SIG = 268, T_PTR = 264, /* T_PTR */
T_SRV = 269, T_NXT = 265, /* T_NXT */
T_CERT = 270, T_KEY = 266, /* T_KEY */
T_LOC = 271, T_SOA = 267, /* T_SOA */
T_MD = 272, T_SIG = 268, /* T_SIG */
T_MF = 273, T_SRV = 269, /* T_SRV */
T_MB = 274, T_CERT = 270, /* T_CERT */
T_MG = 275, T_LOC = 271, /* T_LOC */
T_MR = 276, T_MD = 272, /* T_MD */
T_NULL = 277, T_MF = 273, /* T_MF */
T_WKS = 278, T_MB = 274, /* T_MB */
T_HINFO = 279, T_MG = 275, /* T_MG */
T_MINFO = 280, T_MR = 276, /* T_MR */
T_RP = 281, T_NULL = 277, /* T_NULL */
T_AFSDB = 282, T_WKS = 278, /* T_WKS */
T_X25 = 283, T_HINFO = 279, /* T_HINFO */
T_ISDN = 284, T_MINFO = 280, /* T_MINFO */
T_RT = 285, T_RP = 281, /* T_RP */
T_NSAP = 286, T_AFSDB = 282, /* T_AFSDB */
T_NSAP_PTR = 287, T_X25 = 283, /* T_X25 */
T_PX = 288, T_ISDN = 284, /* T_ISDN */
T_GPOS = 289, T_RT = 285, /* T_RT */
T_EID = 290, T_NSAP = 286, /* T_NSAP */
T_NIMLOC = 291, T_NSAP_PTR = 287, /* T_NSAP_PTR */
T_ATMA = 292, T_PX = 288, /* T_PX */
T_NAPTR = 293, T_GPOS = 289, /* T_GPOS */
T_KX = 294, T_EID = 290, /* T_EID */
T_A6 = 295, T_NIMLOC = 291, /* T_NIMLOC */
T_DNAME = 296, T_ATMA = 292, /* T_ATMA */
T_SINK = 297, T_NAPTR = 293, /* T_NAPTR */
T_OPT = 298, T_KX = 294, /* T_KX */
T_APL = 299, T_A6 = 295, /* T_A6 */
T_UINFO = 300, T_DNAME = 296, /* T_DNAME */
T_UID = 301, T_SINK = 297, /* T_SINK */
T_GID = 302, T_OPT = 298, /* T_OPT */
T_UNSPEC = 303, T_APL = 299, /* T_APL */
T_TKEY = 304, T_UINFO = 300, /* T_UINFO */
T_TSIG = 305, T_UID = 301, /* T_UID */
T_IXFR = 306, T_GID = 302, /* T_GID */
T_AXFR = 307, T_UNSPEC = 303, /* T_UNSPEC */
T_MAILB = 308, T_TKEY = 304, /* T_TKEY */
T_MAILA = 309, T_TSIG = 305, /* T_TSIG */
T_DS = 310, T_IXFR = 306, /* T_IXFR */
T_DLV = 311, T_AXFR = 307, /* T_AXFR */
T_SSHFP = 312, T_MAILB = 308, /* T_MAILB */
T_RRSIG = 313, T_MAILA = 309, /* T_MAILA */
T_NSEC = 314, T_DS = 310, /* T_DS */
T_DNSKEY = 315, T_DLV = 311, /* T_DLV */
T_SPF = 316, T_SSHFP = 312, /* T_SSHFP */
T_NSEC3 = 317, T_RRSIG = 313, /* T_RRSIG */
T_IPSECKEY = 318, T_NSEC = 314, /* T_NSEC */
T_DHCID = 319, T_DNSKEY = 315, /* T_DNSKEY */
T_NSEC3PARAM = 320, T_SPF = 316, /* T_SPF */
T_TLSA = 321, T_NSEC3 = 317, /* T_NSEC3 */
T_URI = 322, T_IPSECKEY = 318, /* T_IPSECKEY */
T_NID = 323, T_DHCID = 319, /* T_DHCID */
T_L32 = 324, T_NSEC3PARAM = 320, /* T_NSEC3PARAM */
T_L64 = 325, T_TLSA = 321, /* T_TLSA */
T_LP = 326, T_URI = 322, /* T_URI */
T_EUI48 = 327, T_NID = 323, /* T_NID */
T_EUI64 = 328, T_L32 = 324, /* T_L32 */
T_CAA = 329, T_L64 = 325, /* T_L64 */
T_CDS = 330, T_LP = 326, /* T_LP */
T_CDNSKEY = 331, T_EUI48 = 327, /* T_EUI48 */
T_OPENPGPKEY = 332, T_EUI64 = 328, /* T_EUI64 */
T_CSYNC = 333, T_CAA = 329, /* T_CAA */
T_ZONEMD = 334, T_CDS = 330, /* T_CDS */
T_AVC = 335, T_CDNSKEY = 331, /* T_CDNSKEY */
T_SMIMEA = 336, T_OPENPGPKEY = 332, /* T_OPENPGPKEY */
DOLLAR_TTL = 337, T_CSYNC = 333, /* T_CSYNC */
DOLLAR_ORIGIN = 338, T_ZONEMD = 334, /* T_ZONEMD */
NL = 339, T_AVC = 335, /* T_AVC */
SP = 340, T_SMIMEA = 336, /* T_SMIMEA */
STR = 341, DOLLAR_TTL = 337, /* DOLLAR_TTL */
PREV = 342, DOLLAR_ORIGIN = 338, /* DOLLAR_ORIGIN */
BITLAB = 343, NL = 339, /* NL */
T_TTL = 344, SP = 340, /* SP */
T_RRCLASS = 345, QSTR = 341, /* QSTR */
URR = 346, STR = 342, /* STR */
T_UTYPE = 347 PREV = 343, /* PREV */
BITLAB = 344, /* BITLAB */
T_TTL = 345, /* T_TTL */
T_RRCLASS = 346, /* T_RRCLASS */
URR = 347, /* URR */
T_UTYPE = 348 /* T_UTYPE */
}; };
typedef enum yytokentype yytoken_kind_t;
#endif #endif
/* Tokens. */ /* Token kinds. */
#define YYEOF 0
#define YYerror 256
#define YYUNDEF 257
#define T_A 258 #define T_A 258
#define T_NS 259 #define T_NS 259
#define T_MX 260 #define T_MX 260
#define T_TXT 261 #define T_TXT 261
#define T_CNAME 262 #define T_CNAME 262
#define T_AAAA 263 #define T_AAAA 263
#define T_PTR 264 #define T_PTR 264
#define T_NXT 265 #define T_NXT 265
#define T_KEY 266 #define T_KEY 266
#define T_SOA 267 #define T_SOA 267
skipping to change at line 228 skipping to change at line 238
#define T_CDNSKEY 331 #define T_CDNSKEY 331
#define T_OPENPGPKEY 332 #define T_OPENPGPKEY 332
#define T_CSYNC 333 #define T_CSYNC 333
#define T_ZONEMD 334 #define T_ZONEMD 334
#define T_AVC 335 #define T_AVC 335
#define T_SMIMEA 336 #define T_SMIMEA 336
#define DOLLAR_TTL 337 #define DOLLAR_TTL 337
#define DOLLAR_ORIGIN 338 #define DOLLAR_ORIGIN 338
#define NL 339 #define NL 339
#define SP 340 #define SP 340
#define STR 341 #define QSTR 341
#define PREV 342 #define STR 342
#define BITLAB 343 #define PREV 343
#define T_TTL 344 #define BITLAB 344
#define T_RRCLASS 345 #define T_TTL 345
#define URR 346 #define T_RRCLASS 346
#define T_UTYPE 347 #define URR 347
#define T_UTYPE 348
/* Value type. */ /* Value type. */
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
union YYSTYPE union YYSTYPE
{ {
#line 50 "zparser.y" #line 50 "zparser.y"
domain_type *domain; domain_type *domain;
const dname_type *dname; const dname_type *dname;
struct lex_data data; struct lex_data data;
uint32_t ttl; uint32_t ttl;
uint16_t klass; uint16_t klass;
uint16_t type; uint16_t type;
uint16_t *unknown; uint16_t *unknown;
#line 251 "zparser.h" #line 262 "zparser.h"
}; };
typedef union YYSTYPE YYSTYPE; typedef union YYSTYPE YYSTYPE;
# define YYSTYPE_IS_TRIVIAL 1 # define YYSTYPE_IS_TRIVIAL 1
# define YYSTYPE_IS_DECLARED 1 # define YYSTYPE_IS_DECLARED 1
#endif #endif
extern YYSTYPE yylval; extern YYSTYPE yylval;
int yyparse (void); int yyparse (void);
 End of changes. 9 change blocks. 
104 lines changed or deleted 115 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)