"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "configparser.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.

configparser.h  (nsd-4.3.5):configparser.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_CONFIGPARSER_H_INCLUDED #ifndef YY_C_CONFIGPARSER_H_INCLUDED
# define YY_YY_CONFIGPARSER_H_INCLUDED # define YY_C_CONFIGPARSER_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 c_debug;
#endif #endif
/* Token type. */ /* Token kinds. */
#ifndef YYTOKENTYPE #ifndef YYTOKENTYPE
# define YYTOKENTYPE # define YYTOKENTYPE
enum yytokentype enum yytokentype
{ {
STRING = 258, YYEMPTY = -2,
VAR_SERVER = 259, YYEOF = 0, /* "end of file" */
VAR_SERVER_COUNT = 260, YYerror = 256, /* error */
VAR_IP_ADDRESS = 261, YYUNDEF = 257, /* "invalid token" */
VAR_IP_TRANSPARENT = 262, STRING = 258, /* STRING */
VAR_IP_FREEBIND = 263, VAR_SERVER = 259, /* VAR_SERVER */
VAR_REUSEPORT = 264, VAR_SERVER_COUNT = 260, /* VAR_SERVER_COUNT */
VAR_SEND_BUFFER_SIZE = 265, VAR_IP_ADDRESS = 261, /* VAR_IP_ADDRESS */
VAR_RECEIVE_BUFFER_SIZE = 266, VAR_IP_TRANSPARENT = 262, /* VAR_IP_TRANSPARENT */
VAR_DEBUG_MODE = 267, VAR_IP_FREEBIND = 263, /* VAR_IP_FREEBIND */
VAR_IP4_ONLY = 268, VAR_REUSEPORT = 264, /* VAR_REUSEPORT */
VAR_IP6_ONLY = 269, VAR_SEND_BUFFER_SIZE = 265, /* VAR_SEND_BUFFER_SIZE */
VAR_DO_IP4 = 270, VAR_RECEIVE_BUFFER_SIZE = 266, /* VAR_RECEIVE_BUFFER_SIZE */
VAR_DO_IP6 = 271, VAR_DEBUG_MODE = 267, /* VAR_DEBUG_MODE */
VAR_PORT = 272, VAR_IP4_ONLY = 268, /* VAR_IP4_ONLY */
VAR_USE_SYSTEMD = 273, VAR_IP6_ONLY = 269, /* VAR_IP6_ONLY */
VAR_VERBOSITY = 274, VAR_DO_IP4 = 270, /* VAR_DO_IP4 */
VAR_USERNAME = 275, VAR_DO_IP6 = 271, /* VAR_DO_IP6 */
VAR_CHROOT = 276, VAR_PORT = 272, /* VAR_PORT */
VAR_ZONESDIR = 277, VAR_USE_SYSTEMD = 273, /* VAR_USE_SYSTEMD */
VAR_ZONELISTFILE = 278, VAR_VERBOSITY = 274, /* VAR_VERBOSITY */
VAR_DATABASE = 279, VAR_USERNAME = 275, /* VAR_USERNAME */
VAR_LOGFILE = 280, VAR_CHROOT = 276, /* VAR_CHROOT */
VAR_LOG_ONLY_SYSLOG = 281, VAR_ZONESDIR = 277, /* VAR_ZONESDIR */
VAR_PIDFILE = 282, VAR_ZONELISTFILE = 278, /* VAR_ZONELISTFILE */
VAR_DIFFFILE = 283, VAR_DATABASE = 279, /* VAR_DATABASE */
VAR_XFRDFILE = 284, VAR_LOGFILE = 280, /* VAR_LOGFILE */
VAR_XFRDIR = 285, VAR_LOG_ONLY_SYSLOG = 281, /* VAR_LOG_ONLY_SYSLOG */
VAR_HIDE_VERSION = 286, VAR_PIDFILE = 282, /* VAR_PIDFILE */
VAR_HIDE_IDENTITY = 287, VAR_DIFFFILE = 283, /* VAR_DIFFFILE */
VAR_VERSION = 288, VAR_XFRDFILE = 284, /* VAR_XFRDFILE */
VAR_IDENTITY = 289, VAR_XFRDIR = 285, /* VAR_XFRDIR */
VAR_NSID = 290, VAR_HIDE_VERSION = 286, /* VAR_HIDE_VERSION */
VAR_TCP_COUNT = 291, VAR_HIDE_IDENTITY = 287, /* VAR_HIDE_IDENTITY */
VAR_TCP_REJECT_OVERFLOW = 292, VAR_VERSION = 288, /* VAR_VERSION */
VAR_TCP_QUERY_COUNT = 293, VAR_IDENTITY = 289, /* VAR_IDENTITY */
VAR_TCP_TIMEOUT = 294, VAR_NSID = 290, /* VAR_NSID */
VAR_TCP_MSS = 295, VAR_TCP_COUNT = 291, /* VAR_TCP_COUNT */
VAR_OUTGOING_TCP_MSS = 296, VAR_TCP_REJECT_OVERFLOW = 292, /* VAR_TCP_REJECT_OVERFLOW */
VAR_IPV4_EDNS_SIZE = 297, VAR_TCP_QUERY_COUNT = 293, /* VAR_TCP_QUERY_COUNT */
VAR_IPV6_EDNS_SIZE = 298, VAR_TCP_TIMEOUT = 294, /* VAR_TCP_TIMEOUT */
VAR_STATISTICS = 299, VAR_TCP_MSS = 295, /* VAR_TCP_MSS */
VAR_XFRD_RELOAD_TIMEOUT = 300, VAR_OUTGOING_TCP_MSS = 296, /* VAR_OUTGOING_TCP_MSS */
VAR_LOG_TIME_ASCII = 301, VAR_IPV4_EDNS_SIZE = 297, /* VAR_IPV4_EDNS_SIZE */
VAR_ROUND_ROBIN = 302, VAR_IPV6_EDNS_SIZE = 298, /* VAR_IPV6_EDNS_SIZE */
VAR_MINIMAL_RESPONSES = 303, VAR_STATISTICS = 299, /* VAR_STATISTICS */
VAR_CONFINE_TO_ZONE = 304, VAR_XFRD_RELOAD_TIMEOUT = 300, /* VAR_XFRD_RELOAD_TIMEOUT */
VAR_REFUSE_ANY = 305, VAR_LOG_TIME_ASCII = 301, /* VAR_LOG_TIME_ASCII */
VAR_ZONEFILES_CHECK = 306, VAR_ROUND_ROBIN = 302, /* VAR_ROUND_ROBIN */
VAR_ZONEFILES_WRITE = 307, VAR_MINIMAL_RESPONSES = 303, /* VAR_MINIMAL_RESPONSES */
VAR_RRL_SIZE = 308, VAR_CONFINE_TO_ZONE = 304, /* VAR_CONFINE_TO_ZONE */
VAR_RRL_RATELIMIT = 309, VAR_REFUSE_ANY = 305, /* VAR_REFUSE_ANY */
VAR_RRL_SLIP = 310, VAR_ZONEFILES_CHECK = 306, /* VAR_ZONEFILES_CHECK */
VAR_RRL_IPV4_PREFIX_LENGTH = 311, VAR_ZONEFILES_WRITE = 307, /* VAR_ZONEFILES_WRITE */
VAR_RRL_IPV6_PREFIX_LENGTH = 312, VAR_RRL_SIZE = 308, /* VAR_RRL_SIZE */
VAR_RRL_WHITELIST_RATELIMIT = 313, VAR_RRL_RATELIMIT = 309, /* VAR_RRL_RATELIMIT */
VAR_TLS_SERVICE_KEY = 314, VAR_RRL_SLIP = 310, /* VAR_RRL_SLIP */
VAR_TLS_SERVICE_PEM = 315, VAR_RRL_IPV4_PREFIX_LENGTH = 311, /* VAR_RRL_IPV4_PREFIX_LENGTH */
VAR_TLS_SERVICE_OCSP = 316, VAR_RRL_IPV6_PREFIX_LENGTH = 312, /* VAR_RRL_IPV6_PREFIX_LENGTH */
VAR_TLS_PORT = 317, VAR_RRL_WHITELIST_RATELIMIT = 313, /* VAR_RRL_WHITELIST_RATELIMIT */
VAR_CPU_AFFINITY = 318, VAR_TLS_SERVICE_KEY = 314, /* VAR_TLS_SERVICE_KEY */
VAR_XFRD_CPU_AFFINITY = 319, VAR_TLS_SERVICE_PEM = 315, /* VAR_TLS_SERVICE_PEM */
VAR_SERVER_CPU_AFFINITY = 320, VAR_TLS_SERVICE_OCSP = 316, /* VAR_TLS_SERVICE_OCSP */
VAR_DROP_UPDATES = 321, VAR_TLS_PORT = 317, /* VAR_TLS_PORT */
VAR_DNSTAP = 322, VAR_CPU_AFFINITY = 318, /* VAR_CPU_AFFINITY */
VAR_DNSTAP_ENABLE = 323, VAR_XFRD_CPU_AFFINITY = 319, /* VAR_XFRD_CPU_AFFINITY */
VAR_DNSTAP_SOCKET_PATH = 324, VAR_SERVER_CPU_AFFINITY = 320, /* VAR_SERVER_CPU_AFFINITY */
VAR_DNSTAP_SEND_IDENTITY = 325, VAR_DROP_UPDATES = 321, /* VAR_DROP_UPDATES */
VAR_DNSTAP_SEND_VERSION = 326, VAR_DNSTAP = 322, /* VAR_DNSTAP */
VAR_DNSTAP_IDENTITY = 327, VAR_DNSTAP_ENABLE = 323, /* VAR_DNSTAP_ENABLE */
VAR_DNSTAP_VERSION = 328, VAR_DNSTAP_SOCKET_PATH = 324, /* VAR_DNSTAP_SOCKET_PATH */
VAR_DNSTAP_LOG_AUTH_QUERY_MESSAGES = 329, VAR_DNSTAP_SEND_IDENTITY = 325, /* VAR_DNSTAP_SEND_IDENTITY */
VAR_DNSTAP_LOG_AUTH_RESPONSE_MESSAGES = 330, VAR_DNSTAP_SEND_VERSION = 326, /* VAR_DNSTAP_SEND_VERSION */
VAR_REMOTE_CONTROL = 331, VAR_DNSTAP_IDENTITY = 327, /* VAR_DNSTAP_IDENTITY */
VAR_CONTROL_ENABLE = 332, VAR_DNSTAP_VERSION = 328, /* VAR_DNSTAP_VERSION */
VAR_CONTROL_INTERFACE = 333, VAR_DNSTAP_LOG_AUTH_QUERY_MESSAGES = 329, /* VAR_DNSTAP_LOG_AUTH_QUERY_MESSA
VAR_CONTROL_PORT = 334, GES */
VAR_SERVER_KEY_FILE = 335, VAR_DNSTAP_LOG_AUTH_RESPONSE_MESSAGES = 330, /* VAR_DNSTAP_LOG_AUTH_RESPONSE
VAR_SERVER_CERT_FILE = 336, _MESSAGES */
VAR_CONTROL_KEY_FILE = 337, VAR_REMOTE_CONTROL = 331, /* VAR_REMOTE_CONTROL */
VAR_CONTROL_CERT_FILE = 338, VAR_CONTROL_ENABLE = 332, /* VAR_CONTROL_ENABLE */
VAR_KEY = 339, VAR_CONTROL_INTERFACE = 333, /* VAR_CONTROL_INTERFACE */
VAR_ALGORITHM = 340, VAR_CONTROL_PORT = 334, /* VAR_CONTROL_PORT */
VAR_SECRET = 341, VAR_SERVER_KEY_FILE = 335, /* VAR_SERVER_KEY_FILE */
VAR_PATTERN = 342, VAR_SERVER_CERT_FILE = 336, /* VAR_SERVER_CERT_FILE */
VAR_NAME = 343, VAR_CONTROL_KEY_FILE = 337, /* VAR_CONTROL_KEY_FILE */
VAR_ZONEFILE = 344, VAR_CONTROL_CERT_FILE = 338, /* VAR_CONTROL_CERT_FILE */
VAR_NOTIFY = 345, VAR_KEY = 339, /* VAR_KEY */
VAR_PROVIDE_XFR = 346, VAR_ALGORITHM = 340, /* VAR_ALGORITHM */
VAR_AXFR = 347, VAR_SECRET = 341, /* VAR_SECRET */
VAR_UDP = 348, VAR_PATTERN = 342, /* VAR_PATTERN */
VAR_NOTIFY_RETRY = 349, VAR_NAME = 343, /* VAR_NAME */
VAR_ALLOW_NOTIFY = 350, VAR_ZONEFILE = 344, /* VAR_ZONEFILE */
VAR_REQUEST_XFR = 351, VAR_NOTIFY = 345, /* VAR_NOTIFY */
VAR_ALLOW_AXFR_FALLBACK = 352, VAR_PROVIDE_XFR = 346, /* VAR_PROVIDE_XFR */
VAR_OUTGOING_INTERFACE = 353, VAR_ALLOW_QUERY = 347, /* VAR_ALLOW_QUERY */
VAR_MAX_REFRESH_TIME = 354, VAR_AXFR = 348, /* VAR_AXFR */
VAR_MIN_REFRESH_TIME = 355, VAR_UDP = 349, /* VAR_UDP */
VAR_MAX_RETRY_TIME = 356, VAR_NOTIFY_RETRY = 350, /* VAR_NOTIFY_RETRY */
VAR_MIN_RETRY_TIME = 357, VAR_ALLOW_NOTIFY = 351, /* VAR_ALLOW_NOTIFY */
VAR_MIN_EXPIRE_TIME = 358, VAR_REQUEST_XFR = 352, /* VAR_REQUEST_XFR */
VAR_MULTI_MASTER_CHECK = 359, VAR_ALLOW_AXFR_FALLBACK = 353, /* VAR_ALLOW_AXFR_FALLBACK */
VAR_SIZE_LIMIT_XFR = 360, VAR_OUTGOING_INTERFACE = 354, /* VAR_OUTGOING_INTERFACE */
VAR_ZONESTATS = 361, VAR_MAX_REFRESH_TIME = 355, /* VAR_MAX_REFRESH_TIME */
VAR_INCLUDE_PATTERN = 362, VAR_MIN_REFRESH_TIME = 356, /* VAR_MIN_REFRESH_TIME */
VAR_ZONE = 363, VAR_MAX_RETRY_TIME = 357, /* VAR_MAX_RETRY_TIME */
VAR_RRL_WHITELIST = 364, VAR_MIN_RETRY_TIME = 358, /* VAR_MIN_RETRY_TIME */
VAR_SERVERS = 365, VAR_MIN_EXPIRE_TIME = 359, /* VAR_MIN_EXPIRE_TIME */
VAR_BINDTODEVICE = 366, VAR_MULTI_MASTER_CHECK = 360, /* VAR_MULTI_MASTER_CHECK */
VAR_SETFIB = 367 VAR_SIZE_LIMIT_XFR = 361, /* VAR_SIZE_LIMIT_XFR */
VAR_ZONESTATS = 362, /* VAR_ZONESTATS */
VAR_INCLUDE_PATTERN = 363, /* VAR_INCLUDE_PATTERN */
VAR_ZONE = 364, /* VAR_ZONE */
VAR_RRL_WHITELIST = 365, /* VAR_RRL_WHITELIST */
VAR_SERVERS = 366, /* VAR_SERVERS */
VAR_BINDTODEVICE = 367, /* VAR_BINDTODEVICE */
VAR_SETFIB = 368 /* VAR_SETFIB */
}; };
typedef enum yytokentype yytoken_kind_t;
#endif #endif
/* Tokens. */ /* Token kinds. */
#define YYEOF 0
#define YYerror 256
#define YYUNDEF 257
#define STRING 258 #define STRING 258
#define VAR_SERVER 259 #define VAR_SERVER 259
#define VAR_SERVER_COUNT 260 #define VAR_SERVER_COUNT 260
#define VAR_IP_ADDRESS 261 #define VAR_IP_ADDRESS 261
#define VAR_IP_TRANSPARENT 262 #define VAR_IP_TRANSPARENT 262
#define VAR_IP_FREEBIND 263 #define VAR_IP_FREEBIND 263
#define VAR_REUSEPORT 264 #define VAR_REUSEPORT 264
#define VAR_SEND_BUFFER_SIZE 265 #define VAR_SEND_BUFFER_SIZE 265
#define VAR_RECEIVE_BUFFER_SIZE 266 #define VAR_RECEIVE_BUFFER_SIZE 266
#define VAR_DEBUG_MODE 267 #define VAR_DEBUG_MODE 267
skipping to change at line 254 skipping to change at line 264
#define VAR_CONTROL_KEY_FILE 337 #define VAR_CONTROL_KEY_FILE 337
#define VAR_CONTROL_CERT_FILE 338 #define VAR_CONTROL_CERT_FILE 338
#define VAR_KEY 339 #define VAR_KEY 339
#define VAR_ALGORITHM 340 #define VAR_ALGORITHM 340
#define VAR_SECRET 341 #define VAR_SECRET 341
#define VAR_PATTERN 342 #define VAR_PATTERN 342
#define VAR_NAME 343 #define VAR_NAME 343
#define VAR_ZONEFILE 344 #define VAR_ZONEFILE 344
#define VAR_NOTIFY 345 #define VAR_NOTIFY 345
#define VAR_PROVIDE_XFR 346 #define VAR_PROVIDE_XFR 346
#define VAR_AXFR 347 #define VAR_ALLOW_QUERY 347
#define VAR_UDP 348 #define VAR_AXFR 348
#define VAR_NOTIFY_RETRY 349 #define VAR_UDP 349
#define VAR_ALLOW_NOTIFY 350 #define VAR_NOTIFY_RETRY 350
#define VAR_REQUEST_XFR 351 #define VAR_ALLOW_NOTIFY 351
#define VAR_ALLOW_AXFR_FALLBACK 352 #define VAR_REQUEST_XFR 352
#define VAR_OUTGOING_INTERFACE 353 #define VAR_ALLOW_AXFR_FALLBACK 353
#define VAR_MAX_REFRESH_TIME 354 #define VAR_OUTGOING_INTERFACE 354
#define VAR_MIN_REFRESH_TIME 355 #define VAR_MAX_REFRESH_TIME 355
#define VAR_MAX_RETRY_TIME 356 #define VAR_MIN_REFRESH_TIME 356
#define VAR_MIN_RETRY_TIME 357 #define VAR_MAX_RETRY_TIME 357
#define VAR_MIN_EXPIRE_TIME 358 #define VAR_MIN_RETRY_TIME 358
#define VAR_MULTI_MASTER_CHECK 359 #define VAR_MIN_EXPIRE_TIME 359
#define VAR_SIZE_LIMIT_XFR 360 #define VAR_MULTI_MASTER_CHECK 360
#define VAR_ZONESTATS 361 #define VAR_SIZE_LIMIT_XFR 361
#define VAR_INCLUDE_PATTERN 362 #define VAR_ZONESTATS 362
#define VAR_ZONE 363 #define VAR_INCLUDE_PATTERN 363
#define VAR_RRL_WHITELIST 364 #define VAR_ZONE 364
#define VAR_SERVERS 365 #define VAR_RRL_WHITELIST 365
#define VAR_BINDTODEVICE 366 #define VAR_SERVERS 366
#define VAR_SETFIB 367 #define VAR_BINDTODEVICE 367
#define VAR_SETFIB 368
/* Value type. */ /* Value type. */
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
union YYSTYPE union YYSTYPE
{ {
#line 41 "configparser.y" #line 40 "configparser.y"
char *str; char *str;
long long llng; long long llng;
int bln; int bln;
struct ip_address_option *ip; struct ip_address_option *ip;
struct range_option *range; struct range_option *range;
struct cpu_option *cpu; struct cpu_option *cpu;
#line 290 "configparser.h" #line 301 "configparser.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 c_lval;
int yyparse (void); int c_parse (void);
#endif /* !YY_YY_CONFIGPARSER_H_INCLUDED */ #endif /* !YY_C_CONFIGPARSER_H_INCLUDED */
 End of changes. 15 change blocks. 
144 lines changed or deleted 157 lines changed or added

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