| 1 |
/* A Bison parser, made by GNU Bison 3.5.1. */ |
| 2 |
|
| 3 |
/* Bison interface for Yacc-like parsers in C |
| 4 |
|
| 5 |
Copyright (C) 1984, 1989-1990, 2000-2015, 2018-2020 Free Software Foundation, |
| 6 |
Inc. |
| 7 |
|
| 8 |
This program is free software: you can redistribute it and/or modify |
| 9 |
it under the terms of the GNU General Public License as published by |
| 10 |
the Free Software Foundation, either version 3 of the License, or |
| 11 |
(at your option) any later version. |
| 12 |
|
| 13 |
This program is distributed in the hope that it will be useful, |
| 14 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 15 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 16 |
GNU General Public License for more details. |
| 17 |
|
| 18 |
You should have received a copy of the GNU General Public License |
| 19 |
along with this program. If not, see <http://www.gnu.org/licenses/>. */ |
| 20 |
|
| 21 |
/* As a special exception, you may create a larger work that contains |
| 22 |
part or all of the Bison parser skeleton and distribute that work |
| 23 |
under terms of your choice, so long as that work isn't itself a |
| 24 |
parser generator using the skeleton or a modified version thereof |
| 25 |
as a parser skeleton. Alternatively, if you modify or redistribute |
| 26 |
the parser skeleton itself, you may (at your option) remove this |
| 27 |
special exception, which will cause the skeleton and the resulting |
| 28 |
Bison output files to be licensed under the GNU General Public |
| 29 |
License without this special exception. |
| 30 |
|
| 31 |
This special exception was added by the Free Software Foundation in |
| 32 |
version 2.2 of Bison. */ |
| 33 |
|
| 34 |
/* Undocumented macros, especially those whose name start with YY_, |
| 35 |
are private implementation details. Do not rely on them. */ |
| 36 |
|
| 37 |
#ifndef YY_YY_CONFIG_PARSER_H_INCLUDED |
| 38 |
# define YY_YY_CONFIG_PARSER_H_INCLUDED |
| 39 |
/* Debug traces. */ |
| 40 |
#ifndef YYDEBUG |
| 41 |
# define YYDEBUG 0 |
| 42 |
#endif |
| 43 |
#if YYDEBUG |
| 44 |
extern int yydebug; |
| 45 |
#endif |
| 46 |
|
| 47 |
/* Token type. */ |
| 48 |
#ifndef YYTOKENTYPE |
| 49 |
# define YYTOKENTYPE |
| 50 |
enum yytokentype |
| 51 |
{ |
| 52 |
ADDRESS_FAMILY = 258, |
| 53 |
AWAY = 259, |
| 54 |
BAN_UNKNOWN = 260, |
| 55 |
BIND = 261, |
| 56 |
BLACKLIST = 262, |
| 57 |
BYTES = 263, |
| 58 |
KBYTES = 264, |
| 59 |
MBYTES = 265, |
| 60 |
CHANNEL = 266, |
| 61 |
COMMAND_INTERVAL = 267, |
| 62 |
COMMAND_QUEUE_SIZE = 268, |
| 63 |
COMMAND_TIMEOUT = 269, |
| 64 |
CONNREGEX = 270, |
| 65 |
DNS_FDLIMIT = 271, |
| 66 |
DNS_TIMEOUT = 272, |
| 67 |
DNSBL_FROM = 273, |
| 68 |
DNSBL_TO = 274, |
| 69 |
EXEMPT = 275, |
| 70 |
FD = 276, |
| 71 |
INVITE = 277, |
| 72 |
IPV4 = 278, |
| 73 |
IPV6 = 279, |
| 74 |
IRC = 280, |
| 75 |
KLINE = 281, |
| 76 |
KEY = 282, |
| 77 |
MASK = 283, |
| 78 |
MAX_READ = 284, |
| 79 |
MODE = 285, |
| 80 |
NAME = 286, |
| 81 |
NEGCACHE = 287, |
| 82 |
NEGCACHE_REBUILD = 288, |
| 83 |
NICK = 289, |
| 84 |
NICKSERV = 290, |
| 85 |
NOTICE = 291, |
| 86 |
OPER = 292, |
| 87 |
OPM = 293, |
| 88 |
OPTIONS = 294, |
| 89 |
PASSWORD = 295, |
| 90 |
PERFORM = 296, |
| 91 |
PIDFILE = 297, |
| 92 |
PORT = 298, |
| 93 |
PROTOCOL = 299, |
| 94 |
RSA_PRIVATE_KEY_FILE = 300, |
| 95 |
READTIMEOUT = 301, |
| 96 |
REALNAME = 302, |
| 97 |
RECONNECTINTERVAL = 303, |
| 98 |
REPLY = 304, |
| 99 |
SCANLOG = 305, |
| 100 |
SCANNER = 306, |
| 101 |
SECONDS = 307, |
| 102 |
MINUTES = 308, |
| 103 |
HOURS = 309, |
| 104 |
DAYS = 310, |
| 105 |
WEEKS = 311, |
| 106 |
MONTHS = 312, |
| 107 |
YEARS = 313, |
| 108 |
SENDMAIL = 314, |
| 109 |
SERVER = 315, |
| 110 |
TARGET_IP = 316, |
| 111 |
TARGET_PORT = 317, |
| 112 |
TARGET_STRING = 318, |
| 113 |
TIMEOUT = 319, |
| 114 |
TLS = 320, |
| 115 |
TLS_CERTIFICATE_FILE = 321, |
| 116 |
TLS_HOSTNAME_VERIFICATION = 322, |
| 117 |
TYPE = 323, |
| 118 |
USERNAME = 324, |
| 119 |
USER = 325, |
| 120 |
NUMBER = 326, |
| 121 |
STRING = 327, |
| 122 |
PROTOCOLTYPE = 328 |
| 123 |
}; |
| 124 |
#endif |
| 125 |
/* Tokens. */ |
| 126 |
#define ADDRESS_FAMILY 258 |
| 127 |
#define AWAY 259 |
| 128 |
#define BAN_UNKNOWN 260 |
| 129 |
#define BIND 261 |
| 130 |
#define BLACKLIST 262 |
| 131 |
#define BYTES 263 |
| 132 |
#define KBYTES 264 |
| 133 |
#define MBYTES 265 |
| 134 |
#define CHANNEL 266 |
| 135 |
#define COMMAND_INTERVAL 267 |
| 136 |
#define COMMAND_QUEUE_SIZE 268 |
| 137 |
#define COMMAND_TIMEOUT 269 |
| 138 |
#define CONNREGEX 270 |
| 139 |
#define DNS_FDLIMIT 271 |
| 140 |
#define DNS_TIMEOUT 272 |
| 141 |
#define DNSBL_FROM 273 |
| 142 |
#define DNSBL_TO 274 |
| 143 |
#define EXEMPT 275 |
| 144 |
#define FD 276 |
| 145 |
#define INVITE 277 |
| 146 |
#define IPV4 278 |
| 147 |
#define IPV6 279 |
| 148 |
#define IRC 280 |
| 149 |
#define KLINE 281 |
| 150 |
#define KEY 282 |
| 151 |
#define MASK 283 |
| 152 |
#define MAX_READ 284 |
| 153 |
#define MODE 285 |
| 154 |
#define NAME 286 |
| 155 |
#define NEGCACHE 287 |
| 156 |
#define NEGCACHE_REBUILD 288 |
| 157 |
#define NICK 289 |
| 158 |
#define NICKSERV 290 |
| 159 |
#define NOTICE 291 |
| 160 |
#define OPER 292 |
| 161 |
#define OPM 293 |
| 162 |
#define OPTIONS 294 |
| 163 |
#define PASSWORD 295 |
| 164 |
#define PERFORM 296 |
| 165 |
#define PIDFILE 297 |
| 166 |
#define PORT 298 |
| 167 |
#define PROTOCOL 299 |
| 168 |
#define RSA_PRIVATE_KEY_FILE 300 |
| 169 |
#define READTIMEOUT 301 |
| 170 |
#define REALNAME 302 |
| 171 |
#define RECONNECTINTERVAL 303 |
| 172 |
#define REPLY 304 |
| 173 |
#define SCANLOG 305 |
| 174 |
#define SCANNER 306 |
| 175 |
#define SECONDS 307 |
| 176 |
#define MINUTES 308 |
| 177 |
#define HOURS 309 |
| 178 |
#define DAYS 310 |
| 179 |
#define WEEKS 311 |
| 180 |
#define MONTHS 312 |
| 181 |
#define YEARS 313 |
| 182 |
#define SENDMAIL 314 |
| 183 |
#define SERVER 315 |
| 184 |
#define TARGET_IP 316 |
| 185 |
#define TARGET_PORT 317 |
| 186 |
#define TARGET_STRING 318 |
| 187 |
#define TIMEOUT 319 |
| 188 |
#define TLS 320 |
| 189 |
#define TLS_CERTIFICATE_FILE 321 |
| 190 |
#define TLS_HOSTNAME_VERIFICATION 322 |
| 191 |
#define TYPE 323 |
| 192 |
#define USERNAME 324 |
| 193 |
#define USER 325 |
| 194 |
#define NUMBER 326 |
| 195 |
#define STRING 327 |
| 196 |
#define PROTOCOLTYPE 328 |
| 197 |
|
| 198 |
/* Value type. */ |
| 199 |
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED |
| 200 |
union YYSTYPE |
| 201 |
{ |
| 202 |
#line 95 "config-parser.y" |
| 203 |
|
| 204 |
int number; |
| 205 |
char *string; |
| 206 |
|
| 207 |
#line 208 "config-parser.h" |
| 208 |
|
| 209 |
}; |
| 210 |
typedef union YYSTYPE YYSTYPE; |
| 211 |
# define YYSTYPE_IS_TRIVIAL 1 |
| 212 |
# define YYSTYPE_IS_DECLARED 1 |
| 213 |
#endif |
| 214 |
|
| 215 |
|
| 216 |
extern YYSTYPE yylval; |
| 217 |
|
| 218 |
int yyparse (void); |
| 219 |
|
| 220 |
#endif /* !YY_YY_CONFIG_PARSER_H_INCLUDED */ |