1 |
michael |
8850 |
/* A Bison parser, made by GNU Bison 3.3.2. */ |
2 |
michael |
5052 |
|
3 |
michael |
5067 |
/* Bison interface for Yacc-like parsers in C |
4 |
michael |
5052 |
|
5 |
michael |
8850 |
Copyright (C) 1984, 1989-1990, 2000-2015, 2018-2019 Free Software Foundation, |
6 |
|
|
Inc. |
7 |
michael |
5052 |
|
8 |
michael |
5067 |
This program is free software: you can redistribute it and/or modify |
9 |
michael |
5052 |
it under the terms of the GNU General Public License as published by |
10 |
michael |
5067 |
the Free Software Foundation, either version 3 of the License, or |
11 |
|
|
(at your option) any later version. |
12 |
michael |
5052 |
|
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 |
michael |
5067 |
along with this program. If not, see <http://www.gnu.org/licenses/>. */ |
20 |
michael |
5052 |
|
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 |
michael |
8739 |
/* Undocumented macros, especially those whose name start with YY_, |
35 |
|
|
are private implementation details. Do not rely on them. */ |
36 |
|
|
|
37 |
michael |
5067 |
#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 |
michael |
5052 |
#ifndef YYTOKENTYPE |
49 |
|
|
# define YYTOKENTYPE |
50 |
michael |
5067 |
enum yytokentype |
51 |
|
|
{ |
52 |
michael |
8101 |
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 |
michael |
9525 |
RSA_PRIVATE_KEY_FILE = 299, |
94 |
|
|
READTIMEOUT = 300, |
95 |
|
|
REALNAME = 301, |
96 |
|
|
RECONNECTINTERVAL = 302, |
97 |
|
|
REPLY = 303, |
98 |
|
|
SCANLOG = 304, |
99 |
|
|
SCANNER = 305, |
100 |
|
|
SECONDS = 306, |
101 |
|
|
MINUTES = 307, |
102 |
|
|
HOURS = 308, |
103 |
|
|
DAYS = 309, |
104 |
|
|
WEEKS = 310, |
105 |
|
|
MONTHS = 311, |
106 |
|
|
YEARS = 312, |
107 |
|
|
SENDMAIL = 313, |
108 |
|
|
SERVER = 314, |
109 |
|
|
TARGET_IP = 315, |
110 |
|
|
TARGET_PORT = 316, |
111 |
|
|
TARGET_STRING = 317, |
112 |
|
|
TIMEOUT = 318, |
113 |
|
|
TLS = 319, |
114 |
|
|
TLS_CERTIFICATE_FILE = 320, |
115 |
|
|
TLS_HOSTNAME_VERIFICATION = 321, |
116 |
|
|
TYPE = 322, |
117 |
|
|
USERNAME = 323, |
118 |
|
|
USER = 324, |
119 |
|
|
VHOST = 325, |
120 |
|
|
NUMBER = 326, |
121 |
|
|
STRING = 327, |
122 |
|
|
PROTOCOLTYPE = 328 |
123 |
michael |
5067 |
}; |
124 |
michael |
5052 |
#endif |
125 |
|
|
/* Tokens. */ |
126 |
michael |
8101 |
#define ADDRESS_FAMILY 258 |
127 |
|
|
#define AWAY 259 |
128 |
|
|
#define BAN_UNKNOWN 260 |
129 |
|
|
#define BLACKLIST 261 |
130 |
|
|
#define BYTES 262 |
131 |
|
|
#define KBYTES 263 |
132 |
|
|
#define MBYTES 264 |
133 |
|
|
#define CHANNEL 265 |
134 |
|
|
#define COMMAND_INTERVAL 266 |
135 |
|
|
#define COMMAND_QUEUE_SIZE 267 |
136 |
|
|
#define COMMAND_TIMEOUT 268 |
137 |
|
|
#define CONNREGEX 269 |
138 |
|
|
#define DNS_FDLIMIT 270 |
139 |
|
|
#define DNS_TIMEOUT 271 |
140 |
|
|
#define DNSBL_FROM 272 |
141 |
|
|
#define DNSBL_TO 273 |
142 |
|
|
#define EXEMPT 274 |
143 |
|
|
#define FD 275 |
144 |
|
|
#define INVITE 276 |
145 |
|
|
#define IPV4 277 |
146 |
|
|
#define IPV6 278 |
147 |
|
|
#define IRC 279 |
148 |
|
|
#define KLINE 280 |
149 |
|
|
#define KEY 281 |
150 |
|
|
#define MASK 282 |
151 |
|
|
#define MAX_READ 283 |
152 |
|
|
#define MODE 284 |
153 |
|
|
#define NAME 285 |
154 |
|
|
#define NEGCACHE 286 |
155 |
|
|
#define NEGCACHE_REBUILD 287 |
156 |
|
|
#define NICK 288 |
157 |
|
|
#define NICKSERV 289 |
158 |
|
|
#define NOTICE 290 |
159 |
|
|
#define OPER 291 |
160 |
|
|
#define OPM 292 |
161 |
|
|
#define OPTIONS 293 |
162 |
|
|
#define PASSWORD 294 |
163 |
|
|
#define PERFORM 295 |
164 |
|
|
#define PIDFILE 296 |
165 |
|
|
#define PORT 297 |
166 |
|
|
#define PROTOCOL 298 |
167 |
michael |
9525 |
#define RSA_PRIVATE_KEY_FILE 299 |
168 |
|
|
#define READTIMEOUT 300 |
169 |
|
|
#define REALNAME 301 |
170 |
|
|
#define RECONNECTINTERVAL 302 |
171 |
|
|
#define REPLY 303 |
172 |
|
|
#define SCANLOG 304 |
173 |
|
|
#define SCANNER 305 |
174 |
|
|
#define SECONDS 306 |
175 |
|
|
#define MINUTES 307 |
176 |
|
|
#define HOURS 308 |
177 |
|
|
#define DAYS 309 |
178 |
|
|
#define WEEKS 310 |
179 |
|
|
#define MONTHS 311 |
180 |
|
|
#define YEARS 312 |
181 |
|
|
#define SENDMAIL 313 |
182 |
|
|
#define SERVER 314 |
183 |
|
|
#define TARGET_IP 315 |
184 |
|
|
#define TARGET_PORT 316 |
185 |
|
|
#define TARGET_STRING 317 |
186 |
|
|
#define TIMEOUT 318 |
187 |
|
|
#define TLS 319 |
188 |
|
|
#define TLS_CERTIFICATE_FILE 320 |
189 |
|
|
#define TLS_HOSTNAME_VERIFICATION 321 |
190 |
|
|
#define TYPE 322 |
191 |
|
|
#define USERNAME 323 |
192 |
|
|
#define USER 324 |
193 |
|
|
#define VHOST 325 |
194 |
|
|
#define NUMBER 326 |
195 |
|
|
#define STRING 327 |
196 |
|
|
#define PROTOCOLTYPE 328 |
197 |
michael |
5052 |
|
198 |
michael |
5067 |
/* Value type. */ |
199 |
michael |
5052 |
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED |
200 |
michael |
5405 |
|
201 |
michael |
5067 |
union YYSTYPE |
202 |
michael |
5052 |
{ |
203 |
michael |
9525 |
#line 95 "config-parser.y" /* yacc.c:1921 */ |
204 |
michael |
5067 |
|
205 |
michael |
5665 |
int number; |
206 |
|
|
char *string; |
207 |
michael |
5067 |
|
208 |
michael |
9525 |
#line 209 "config-parser.h" /* yacc.c:1921 */ |
209 |
michael |
5067 |
}; |
210 |
michael |
5405 |
|
211 |
|
|
typedef union YYSTYPE YYSTYPE; |
212 |
michael |
5067 |
# define YYSTYPE_IS_TRIVIAL 1 |
213 |
michael |
5052 |
# define YYSTYPE_IS_DECLARED 1 |
214 |
|
|
#endif |
215 |
|
|
|
216 |
michael |
5067 |
|
217 |
michael |
5052 |
extern YYSTYPE yylval; |
218 |
|
|
|
219 |
michael |
5067 |
int yyparse (void); |
220 |
|
|
|
221 |
|
|
#endif /* !YY_YY_CONFIG_PARSER_H_INCLUDED */ |