ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/trunk/src/conf_parser.h
Revision: 1751
Committed: Wed Jan 16 18:30:52 2013 UTC (12 years, 7 months ago) by michael
Content type: text/x-chdr
File size: 12744 byte(s)
Log Message:
- Forward-port -r1750 [IMPORTANT: nick and topic lengths are now configurable
  via ircd.conf. A max_nick_length, as well as a max_topic_length configuration
  option can now be found in the serverinfo{} block]
- OpenSSL 0.9.8s and higher is now required in order to enable ssl support

File Contents

# Content
1 /* A Bison parser, made by GNU Bison 2.7. */
2
3 /* Bison interface for Yacc-like parsers in C
4
5 Copyright (C) 1984, 1989-1990, 2000-2012 Free Software Foundation, Inc.
6
7 This program is free software: you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation, either version 3 of the License, or
10 (at your option) any later version.
11
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
16
17 You should have received a copy of the GNU General Public License
18 along with this program. If not, see <http://www.gnu.org/licenses/>. */
19
20 /* As a special exception, you may create a larger work that contains
21 part or all of the Bison parser skeleton and distribute that work
22 under terms of your choice, so long as that work isn't itself a
23 parser generator using the skeleton or a modified version thereof
24 as a parser skeleton. Alternatively, if you modify or redistribute
25 the parser skeleton itself, you may (at your option) remove this
26 special exception, which will cause the skeleton and the resulting
27 Bison output files to be licensed under the GNU General Public
28 License without this special exception.
29
30 This special exception was added by the Free Software Foundation in
31 version 2.2 of Bison. */
32
33 #ifndef YY_YY_CONF_PARSER_H_INCLUDED
34 # define YY_YY_CONF_PARSER_H_INCLUDED
35 /* Enabling traces. */
36 #ifndef YYDEBUG
37 # define YYDEBUG 0
38 #endif
39 #if YYDEBUG
40 extern int yydebug;
41 #endif
42
43 /* Tokens. */
44 #ifndef YYTOKENTYPE
45 # define YYTOKENTYPE
46 /* Put the tokens into the symbol table, so that GDB and other debuggers
47 know about them. */
48 enum yytokentype {
49 ACCEPT_PASSWORD = 258,
50 ADMIN = 259,
51 AFTYPE = 260,
52 ANTI_NICK_FLOOD = 261,
53 ANTI_SPAM_EXIT_MESSAGE_TIME = 262,
54 AUTOCONN = 263,
55 BYTES = 264,
56 KBYTES = 265,
57 MBYTES = 266,
58 CALLER_ID_WAIT = 267,
59 CAN_FLOOD = 268,
60 CHANNEL = 269,
61 CIDR_BITLEN_IPV4 = 270,
62 CIDR_BITLEN_IPV6 = 271,
63 CLASS = 272,
64 CONNECT = 273,
65 CONNECTFREQ = 274,
66 DEFAULT_FLOODCOUNT = 275,
67 DEFAULT_SPLIT_SERVER_COUNT = 276,
68 DEFAULT_SPLIT_USER_COUNT = 277,
69 DENY = 278,
70 DESCRIPTION = 279,
71 DIE = 280,
72 DISABLE_AUTH = 281,
73 DISABLE_FAKE_CHANNELS = 282,
74 DISABLE_REMOTE_COMMANDS = 283,
75 DOTS_IN_IDENT = 284,
76 EGDPOOL_PATH = 285,
77 EMAIL = 286,
78 ENCRYPTED = 287,
79 EXCEED_LIMIT = 288,
80 EXEMPT = 289,
81 FAILED_OPER_NOTICE = 290,
82 IRCD_FLAGS = 291,
83 FLATTEN_LINKS = 292,
84 GECOS = 293,
85 GENERAL = 294,
86 GLINE = 295,
87 GLINE_DURATION = 296,
88 GLINE_ENABLE = 297,
89 GLINE_EXEMPT = 298,
90 GLINE_REQUEST_DURATION = 299,
91 GLINE_MIN_CIDR = 300,
92 GLINE_MIN_CIDR6 = 301,
93 GLOBAL_KILL = 302,
94 IRCD_AUTH = 303,
95 NEED_IDENT = 304,
96 HAVENT_READ_CONF = 305,
97 HIDDEN = 306,
98 HIDDEN_NAME = 307,
99 HIDE_SERVER_IPS = 308,
100 HIDE_SERVERS = 309,
101 HIDE_SPOOF_IPS = 310,
102 HOST = 311,
103 HUB = 312,
104 HUB_MASK = 313,
105 IGNORE_BOGUS_TS = 314,
106 INVISIBLE_ON_CONNECT = 315,
107 IP = 316,
108 KILL = 317,
109 KILL_CHASE_TIME_LIMIT = 318,
110 KLINE = 319,
111 KLINE_EXEMPT = 320,
112 KNOCK_DELAY = 321,
113 KNOCK_DELAY_CHANNEL = 322,
114 LEAF_MASK = 323,
115 LINKS_DELAY = 324,
116 LISTEN = 325,
117 T_LOG = 326,
118 MAX_ACCEPT = 327,
119 MAX_BANS = 328,
120 MAX_CHANS_PER_OPER = 329,
121 MAX_CHANS_PER_USER = 330,
122 MAX_GLOBAL = 331,
123 MAX_IDENT = 332,
124 MAX_LOCAL = 333,
125 MAX_NICK_CHANGES = 334,
126 MAX_NICK_LENGTH = 335,
127 MAX_NICK_TIME = 336,
128 MAX_NUMBER = 337,
129 MAX_TARGETS = 338,
130 MAX_TOPIC_LENGTH = 339,
131 MAX_WATCH = 340,
132 MESSAGE_LOCALE = 341,
133 MIN_NONWILDCARD = 342,
134 MIN_NONWILDCARD_SIMPLE = 343,
135 MODULE = 344,
136 MODULES = 345,
137 NAME = 346,
138 NEED_PASSWORD = 347,
139 NETWORK_DESC = 348,
140 NETWORK_NAME = 349,
141 NICK = 350,
142 NICK_CHANGES = 351,
143 NO_CREATE_ON_SPLIT = 352,
144 NO_JOIN_ON_SPLIT = 353,
145 NO_OPER_FLOOD = 354,
146 NO_TILDE = 355,
147 NUMBER = 356,
148 NUMBER_PER_CIDR = 357,
149 NUMBER_PER_IP = 358,
150 OPERATOR = 359,
151 OPERS_BYPASS_CALLERID = 360,
152 OPER_ONLY_UMODES = 361,
153 OPER_PASS_RESV = 362,
154 OPER_SPY_T = 363,
155 OPER_UMODES = 364,
156 JOIN_FLOOD_COUNT = 365,
157 JOIN_FLOOD_TIME = 366,
158 PACE_WAIT = 367,
159 PACE_WAIT_SIMPLE = 368,
160 PASSWORD = 369,
161 PATH = 370,
162 PING_COOKIE = 371,
163 PING_TIME = 372,
164 PORT = 373,
165 QSTRING = 374,
166 QUIET_ON_BAN = 375,
167 REASON = 376,
168 REDIRPORT = 377,
169 REDIRSERV = 378,
170 REGEX_T = 379,
171 REHASH = 380,
172 REMOTE = 381,
173 REMOTEBAN = 382,
174 RESTRICT_CHANNELS = 383,
175 RSA_PRIVATE_KEY_FILE = 384,
176 RSA_PUBLIC_KEY_FILE = 385,
177 SSL_CERTIFICATE_FILE = 386,
178 SSL_DH_PARAM_FILE = 387,
179 T_SSL_CLIENT_METHOD = 388,
180 T_SSL_SERVER_METHOD = 389,
181 T_SSLV3 = 390,
182 T_TLSV1 = 391,
183 RESV = 392,
184 RESV_EXEMPT = 393,
185 SECONDS = 394,
186 MINUTES = 395,
187 HOURS = 396,
188 DAYS = 397,
189 WEEKS = 398,
190 SENDQ = 399,
191 SEND_PASSWORD = 400,
192 SERVERHIDE = 401,
193 SERVERINFO = 402,
194 IRCD_SID = 403,
195 TKLINE_EXPIRE_NOTICES = 404,
196 T_SHARED = 405,
197 T_CLUSTER = 406,
198 TYPE = 407,
199 SHORT_MOTD = 408,
200 SPOOF = 409,
201 SPOOF_NOTICE = 410,
202 STATS_E_DISABLED = 411,
203 STATS_I_OPER_ONLY = 412,
204 STATS_K_OPER_ONLY = 413,
205 STATS_O_OPER_ONLY = 414,
206 STATS_P_OPER_ONLY = 415,
207 TBOOL = 416,
208 TMASKED = 417,
209 TS_MAX_DELTA = 418,
210 TS_WARN_DELTA = 419,
211 TWODOTS = 420,
212 T_ALL = 421,
213 T_BOTS = 422,
214 T_SOFTCALLERID = 423,
215 T_CALLERID = 424,
216 T_CCONN = 425,
217 T_CCONN_FULL = 426,
218 T_SSL_CIPHER_LIST = 427,
219 T_DEAF = 428,
220 T_DEBUG = 429,
221 T_DLINE = 430,
222 T_EXTERNAL = 431,
223 T_FULL = 432,
224 T_INVISIBLE = 433,
225 T_IPV4 = 434,
226 T_IPV6 = 435,
227 T_LOCOPS = 436,
228 T_MAX_CLIENTS = 437,
229 T_NCHANGE = 438,
230 T_OPERWALL = 439,
231 T_RECVQ = 440,
232 T_REJ = 441,
233 T_SERVER = 442,
234 T_SERVNOTICE = 443,
235 T_SET = 444,
236 T_SKILL = 445,
237 T_SPY = 446,
238 T_SSL = 447,
239 T_UMODES = 448,
240 T_UNAUTH = 449,
241 T_UNDLINE = 450,
242 T_UNLIMITED = 451,
243 T_UNRESV = 452,
244 T_UNXLINE = 453,
245 T_GLOBOPS = 454,
246 T_WALLOP = 455,
247 T_WEBIRC = 456,
248 T_RESTART = 457,
249 T_SERVICE = 458,
250 T_SERVICES_NAME = 459,
251 THROTTLE_TIME = 460,
252 TRUE_NO_OPER_FLOOD = 461,
253 UNKLINE = 462,
254 USER = 463,
255 USE_EGD = 464,
256 USE_LOGGING = 465,
257 VHOST = 466,
258 VHOST6 = 467,
259 XLINE = 468,
260 WARN_NO_NLINE = 469,
261 T_SIZE = 470,
262 T_FILE = 471
263 };
264 #endif
265 /* Tokens. */
266 #define ACCEPT_PASSWORD 258
267 #define ADMIN 259
268 #define AFTYPE 260
269 #define ANTI_NICK_FLOOD 261
270 #define ANTI_SPAM_EXIT_MESSAGE_TIME 262
271 #define AUTOCONN 263
272 #define BYTES 264
273 #define KBYTES 265
274 #define MBYTES 266
275 #define CALLER_ID_WAIT 267
276 #define CAN_FLOOD 268
277 #define CHANNEL 269
278 #define CIDR_BITLEN_IPV4 270
279 #define CIDR_BITLEN_IPV6 271
280 #define CLASS 272
281 #define CONNECT 273
282 #define CONNECTFREQ 274
283 #define DEFAULT_FLOODCOUNT 275
284 #define DEFAULT_SPLIT_SERVER_COUNT 276
285 #define DEFAULT_SPLIT_USER_COUNT 277
286 #define DENY 278
287 #define DESCRIPTION 279
288 #define DIE 280
289 #define DISABLE_AUTH 281
290 #define DISABLE_FAKE_CHANNELS 282
291 #define DISABLE_REMOTE_COMMANDS 283
292 #define DOTS_IN_IDENT 284
293 #define EGDPOOL_PATH 285
294 #define EMAIL 286
295 #define ENCRYPTED 287
296 #define EXCEED_LIMIT 288
297 #define EXEMPT 289
298 #define FAILED_OPER_NOTICE 290
299 #define IRCD_FLAGS 291
300 #define FLATTEN_LINKS 292
301 #define GECOS 293
302 #define GENERAL 294
303 #define GLINE 295
304 #define GLINE_DURATION 296
305 #define GLINE_ENABLE 297
306 #define GLINE_EXEMPT 298
307 #define GLINE_REQUEST_DURATION 299
308 #define GLINE_MIN_CIDR 300
309 #define GLINE_MIN_CIDR6 301
310 #define GLOBAL_KILL 302
311 #define IRCD_AUTH 303
312 #define NEED_IDENT 304
313 #define HAVENT_READ_CONF 305
314 #define HIDDEN 306
315 #define HIDDEN_NAME 307
316 #define HIDE_SERVER_IPS 308
317 #define HIDE_SERVERS 309
318 #define HIDE_SPOOF_IPS 310
319 #define HOST 311
320 #define HUB 312
321 #define HUB_MASK 313
322 #define IGNORE_BOGUS_TS 314
323 #define INVISIBLE_ON_CONNECT 315
324 #define IP 316
325 #define KILL 317
326 #define KILL_CHASE_TIME_LIMIT 318
327 #define KLINE 319
328 #define KLINE_EXEMPT 320
329 #define KNOCK_DELAY 321
330 #define KNOCK_DELAY_CHANNEL 322
331 #define LEAF_MASK 323
332 #define LINKS_DELAY 324
333 #define LISTEN 325
334 #define T_LOG 326
335 #define MAX_ACCEPT 327
336 #define MAX_BANS 328
337 #define MAX_CHANS_PER_OPER 329
338 #define MAX_CHANS_PER_USER 330
339 #define MAX_GLOBAL 331
340 #define MAX_IDENT 332
341 #define MAX_LOCAL 333
342 #define MAX_NICK_CHANGES 334
343 #define MAX_NICK_LENGTH 335
344 #define MAX_NICK_TIME 336
345 #define MAX_NUMBER 337
346 #define MAX_TARGETS 338
347 #define MAX_TOPIC_LENGTH 339
348 #define MAX_WATCH 340
349 #define MESSAGE_LOCALE 341
350 #define MIN_NONWILDCARD 342
351 #define MIN_NONWILDCARD_SIMPLE 343
352 #define MODULE 344
353 #define MODULES 345
354 #define NAME 346
355 #define NEED_PASSWORD 347
356 #define NETWORK_DESC 348
357 #define NETWORK_NAME 349
358 #define NICK 350
359 #define NICK_CHANGES 351
360 #define NO_CREATE_ON_SPLIT 352
361 #define NO_JOIN_ON_SPLIT 353
362 #define NO_OPER_FLOOD 354
363 #define NO_TILDE 355
364 #define NUMBER 356
365 #define NUMBER_PER_CIDR 357
366 #define NUMBER_PER_IP 358
367 #define OPERATOR 359
368 #define OPERS_BYPASS_CALLERID 360
369 #define OPER_ONLY_UMODES 361
370 #define OPER_PASS_RESV 362
371 #define OPER_SPY_T 363
372 #define OPER_UMODES 364
373 #define JOIN_FLOOD_COUNT 365
374 #define JOIN_FLOOD_TIME 366
375 #define PACE_WAIT 367
376 #define PACE_WAIT_SIMPLE 368
377 #define PASSWORD 369
378 #define PATH 370
379 #define PING_COOKIE 371
380 #define PING_TIME 372
381 #define PORT 373
382 #define QSTRING 374
383 #define QUIET_ON_BAN 375
384 #define REASON 376
385 #define REDIRPORT 377
386 #define REDIRSERV 378
387 #define REGEX_T 379
388 #define REHASH 380
389 #define REMOTE 381
390 #define REMOTEBAN 382
391 #define RESTRICT_CHANNELS 383
392 #define RSA_PRIVATE_KEY_FILE 384
393 #define RSA_PUBLIC_KEY_FILE 385
394 #define SSL_CERTIFICATE_FILE 386
395 #define SSL_DH_PARAM_FILE 387
396 #define T_SSL_CLIENT_METHOD 388
397 #define T_SSL_SERVER_METHOD 389
398 #define T_SSLV3 390
399 #define T_TLSV1 391
400 #define RESV 392
401 #define RESV_EXEMPT 393
402 #define SECONDS 394
403 #define MINUTES 395
404 #define HOURS 396
405 #define DAYS 397
406 #define WEEKS 398
407 #define SENDQ 399
408 #define SEND_PASSWORD 400
409 #define SERVERHIDE 401
410 #define SERVERINFO 402
411 #define IRCD_SID 403
412 #define TKLINE_EXPIRE_NOTICES 404
413 #define T_SHARED 405
414 #define T_CLUSTER 406
415 #define TYPE 407
416 #define SHORT_MOTD 408
417 #define SPOOF 409
418 #define SPOOF_NOTICE 410
419 #define STATS_E_DISABLED 411
420 #define STATS_I_OPER_ONLY 412
421 #define STATS_K_OPER_ONLY 413
422 #define STATS_O_OPER_ONLY 414
423 #define STATS_P_OPER_ONLY 415
424 #define TBOOL 416
425 #define TMASKED 417
426 #define TS_MAX_DELTA 418
427 #define TS_WARN_DELTA 419
428 #define TWODOTS 420
429 #define T_ALL 421
430 #define T_BOTS 422
431 #define T_SOFTCALLERID 423
432 #define T_CALLERID 424
433 #define T_CCONN 425
434 #define T_CCONN_FULL 426
435 #define T_SSL_CIPHER_LIST 427
436 #define T_DEAF 428
437 #define T_DEBUG 429
438 #define T_DLINE 430
439 #define T_EXTERNAL 431
440 #define T_FULL 432
441 #define T_INVISIBLE 433
442 #define T_IPV4 434
443 #define T_IPV6 435
444 #define T_LOCOPS 436
445 #define T_MAX_CLIENTS 437
446 #define T_NCHANGE 438
447 #define T_OPERWALL 439
448 #define T_RECVQ 440
449 #define T_REJ 441
450 #define T_SERVER 442
451 #define T_SERVNOTICE 443
452 #define T_SET 444
453 #define T_SKILL 445
454 #define T_SPY 446
455 #define T_SSL 447
456 #define T_UMODES 448
457 #define T_UNAUTH 449
458 #define T_UNDLINE 450
459 #define T_UNLIMITED 451
460 #define T_UNRESV 452
461 #define T_UNXLINE 453
462 #define T_GLOBOPS 454
463 #define T_WALLOP 455
464 #define T_WEBIRC 456
465 #define T_RESTART 457
466 #define T_SERVICE 458
467 #define T_SERVICES_NAME 459
468 #define THROTTLE_TIME 460
469 #define TRUE_NO_OPER_FLOOD 461
470 #define UNKLINE 462
471 #define USER 463
472 #define USE_EGD 464
473 #define USE_LOGGING 465
474 #define VHOST 466
475 #define VHOST6 467
476 #define XLINE 468
477 #define WARN_NO_NLINE 469
478 #define T_SIZE 470
479 #define T_FILE 471
480
481
482
483 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
484 typedef union YYSTYPE
485 {
486 /* Line 2058 of yacc.c */
487 #line 135 "conf_parser.y"
488
489 int number;
490 char *string;
491
492
493 /* Line 2058 of yacc.c */
494 #line 495 "conf_parser.h"
495 } YYSTYPE;
496 # define YYSTYPE_IS_TRIVIAL 1
497 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
498 # define YYSTYPE_IS_DECLARED 1
499 #endif
500
501 extern YYSTYPE yylval;
502
503 #ifdef YYPARSE_PARAM
504 #if defined __STDC__ || defined __cplusplus
505 int yyparse (void *YYPARSE_PARAM);
506 #else
507 int yyparse ();
508 #endif
509 #else /* ! YYPARSE_PARAM */
510 #if defined __STDC__ || defined __cplusplus
511 int yyparse (void);
512 #else
513 int yyparse ();
514 #endif
515 #endif /* ! YYPARSE_PARAM */
516
517 #endif /* !YY_YY_CONF_PARSER_H_INCLUDED */

Properties

Name Value
svn:eol-style native
svn:keywords Id Revision