| 1 |
/* A Bison parser, made by GNU Bison 3.3.2. */ |
| 2 |
|
| 3 |
/* Bison interface for Yacc-like parsers in C |
| 4 |
|
| 5 |
Copyright (C) 1984, 1989-1990, 2000-2015, 2018-2019 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 |
BLACKLIST = 261, |
| 56 |
BYTES = 262, |
| 57 |
KBYTES = 263, |
| 58 |
MBYTES = 264, |
| 59 |
CHANNEL = 265, |
| 60 |
COMMAND_INTERVAL = 266, |
| 61 |
COMMAND_QUEUE_SIZE = 267, |
| 62 |
COMMAND_TIMEOUT = 268, |
| 63 |
CONNREGEX = 269, |
| 64 |
DNS_FDLIMIT = 270, |
| 65 |
DNS_TIMEOUT = 271, |
| 66 |
DNSBL_FROM = 272, |
| 67 |
DNSBL_TO = 273, |
| 68 |
EXEMPT = 274, |
| 69 |
FD = 275, |
| 70 |
INVITE = 276, |
| 71 |
IPV4 = 277, |
| 72 |
IPV6 = 278, |
| 73 |
IRC = 279, |
| 74 |
KLINE = 280, |
| 75 |
KEY = 281, |
| 76 |
MASK = 282, |
| 77 |
MAX_READ = 283, |
| 78 |
MODE = 284, |
| 79 |
NAME = 285, |
| 80 |
NEGCACHE = 286, |
| 81 |
NEGCACHE_REBUILD = 287, |
| 82 |
NICK = 288, |
| 83 |
NICKSERV = 289, |
| 84 |
NOTICE = 290, |
| 85 |
OPER = 291, |
| 86 |
OPM = 292, |
| 87 |
OPTIONS = 293, |
| 88 |
PASSWORD = 294, |
| 89 |
PERFORM = 295, |
| 90 |
PIDFILE = 296, |
| 91 |
PORT = 297, |
| 92 |
PROTOCOL = 298, |
| 93 |
READTIMEOUT = 299, |
| 94 |
REALNAME = 300, |
| 95 |
RECONNECTINTERVAL = 301, |
| 96 |
REPLY = 302, |
| 97 |
SCANLOG = 303, |
| 98 |
SCANNER = 304, |
| 99 |
SECONDS = 305, |
| 100 |
MINUTES = 306, |
| 101 |
HOURS = 307, |
| 102 |
DAYS = 308, |
| 103 |
WEEKS = 309, |
| 104 |
MONTHS = 310, |
| 105 |
YEARS = 311, |
| 106 |
SENDMAIL = 312, |
| 107 |
SERVER = 313, |
| 108 |
TARGET_IP = 314, |
| 109 |
TARGET_PORT = 315, |
| 110 |
TARGET_STRING = 316, |
| 111 |
TIMEOUT = 317, |
| 112 |
TYPE = 318, |
| 113 |
USERNAME = 319, |
| 114 |
USER = 320, |
| 115 |
VHOST = 321, |
| 116 |
NUMBER = 322, |
| 117 |
STRING = 323, |
| 118 |
PROTOCOLTYPE = 324 |
| 119 |
}; |
| 120 |
#endif |
| 121 |
/* Tokens. */ |
| 122 |
#define ADDRESS_FAMILY 258 |
| 123 |
#define AWAY 259 |
| 124 |
#define BAN_UNKNOWN 260 |
| 125 |
#define BLACKLIST 261 |
| 126 |
#define BYTES 262 |
| 127 |
#define KBYTES 263 |
| 128 |
#define MBYTES 264 |
| 129 |
#define CHANNEL 265 |
| 130 |
#define COMMAND_INTERVAL 266 |
| 131 |
#define COMMAND_QUEUE_SIZE 267 |
| 132 |
#define COMMAND_TIMEOUT 268 |
| 133 |
#define CONNREGEX 269 |
| 134 |
#define DNS_FDLIMIT 270 |
| 135 |
#define DNS_TIMEOUT 271 |
| 136 |
#define DNSBL_FROM 272 |
| 137 |
#define DNSBL_TO 273 |
| 138 |
#define EXEMPT 274 |
| 139 |
#define FD 275 |
| 140 |
#define INVITE 276 |
| 141 |
#define IPV4 277 |
| 142 |
#define IPV6 278 |
| 143 |
#define IRC 279 |
| 144 |
#define KLINE 280 |
| 145 |
#define KEY 281 |
| 146 |
#define MASK 282 |
| 147 |
#define MAX_READ 283 |
| 148 |
#define MODE 284 |
| 149 |
#define NAME 285 |
| 150 |
#define NEGCACHE 286 |
| 151 |
#define NEGCACHE_REBUILD 287 |
| 152 |
#define NICK 288 |
| 153 |
#define NICKSERV 289 |
| 154 |
#define NOTICE 290 |
| 155 |
#define OPER 291 |
| 156 |
#define OPM 292 |
| 157 |
#define OPTIONS 293 |
| 158 |
#define PASSWORD 294 |
| 159 |
#define PERFORM 295 |
| 160 |
#define PIDFILE 296 |
| 161 |
#define PORT 297 |
| 162 |
#define PROTOCOL 298 |
| 163 |
#define READTIMEOUT 299 |
| 164 |
#define REALNAME 300 |
| 165 |
#define RECONNECTINTERVAL 301 |
| 166 |
#define REPLY 302 |
| 167 |
#define SCANLOG 303 |
| 168 |
#define SCANNER 304 |
| 169 |
#define SECONDS 305 |
| 170 |
#define MINUTES 306 |
| 171 |
#define HOURS 307 |
| 172 |
#define DAYS 308 |
| 173 |
#define WEEKS 309 |
| 174 |
#define MONTHS 310 |
| 175 |
#define YEARS 311 |
| 176 |
#define SENDMAIL 312 |
| 177 |
#define SERVER 313 |
| 178 |
#define TARGET_IP 314 |
| 179 |
#define TARGET_PORT 315 |
| 180 |
#define TARGET_STRING 316 |
| 181 |
#define TIMEOUT 317 |
| 182 |
#define TYPE 318 |
| 183 |
#define USERNAME 319 |
| 184 |
#define USER 320 |
| 185 |
#define VHOST 321 |
| 186 |
#define NUMBER 322 |
| 187 |
#define STRING 323 |
| 188 |
#define PROTOCOLTYPE 324 |
| 189 |
|
| 190 |
/* Value type. */ |
| 191 |
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED |
| 192 |
|
| 193 |
union YYSTYPE |
| 194 |
{ |
| 195 |
#line 91 "config-parser.y" /* yacc.c:1921 */ |
| 196 |
|
| 197 |
int number; |
| 198 |
char *string; |
| 199 |
|
| 200 |
#line 201 "config-parser.h" /* yacc.c:1921 */ |
| 201 |
}; |
| 202 |
|
| 203 |
typedef union YYSTYPE YYSTYPE; |
| 204 |
# define YYSTYPE_IS_TRIVIAL 1 |
| 205 |
# define YYSTYPE_IS_DECLARED 1 |
| 206 |
#endif |
| 207 |
|
| 208 |
|
| 209 |
extern YYSTYPE yylval; |
| 210 |
|
| 211 |
int yyparse (void); |
| 212 |
|
| 213 |
#endif /* !YY_YY_CONFIG_PARSER_H_INCLUDED */ |