ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/trunk/src/conf_parser.h
Revision: 1247
Committed: Sat Oct 1 07:54:24 2011 UTC (13 years, 10 months ago) by michael
Content type: text/x-chdr
Original Path: ircd-hybrid-8/src/ircd_parser.h
File size: 13526 byte(s)
Log Message:
- Rewrite and cleanup half-broken logging subsystem.
  Logfile rotating is not working yet

File Contents

# Content
1 /* A Bison parser, made by GNU Bison 2.5. */
2
3 /* Bison interface for Yacc-like parsers in C
4
5 Copyright (C) 1984, 1989-1990, 2000-2011 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
34 /* Tokens. */
35 #ifndef YYTOKENTYPE
36 # define YYTOKENTYPE
37 /* Put the tokens into the symbol table, so that GDB and other debuggers
38 know about them. */
39 enum yytokentype {
40 ACCEPT_PASSWORD = 258,
41 ACTION = 259,
42 ADMIN = 260,
43 AFTYPE = 261,
44 T_ALLOW = 262,
45 ANTI_NICK_FLOOD = 263,
46 ANTI_SPAM_EXIT_MESSAGE_TIME = 264,
47 AUTOCONN = 265,
48 T_BLOCK = 266,
49 BURST_AWAY = 267,
50 BURST_TOPICWHO = 268,
51 BYTES = 269,
52 KBYTES = 270,
53 MBYTES = 271,
54 GBYTES = 272,
55 TBYTES = 273,
56 CALLER_ID_WAIT = 274,
57 CAN_FLOOD = 275,
58 CHANNEL = 276,
59 CIDR_BITLEN_IPV4 = 277,
60 CIDR_BITLEN_IPV6 = 278,
61 CIPHER_PREFERENCE = 279,
62 CLASS = 280,
63 COMPRESSED = 281,
64 COMPRESSION_LEVEL = 282,
65 CONNECT = 283,
66 CONNECTFREQ = 284,
67 CRYPTLINK = 285,
68 DEFAULT_CIPHER_PREFERENCE = 286,
69 DEFAULT_FLOODCOUNT = 287,
70 DEFAULT_SPLIT_SERVER_COUNT = 288,
71 DEFAULT_SPLIT_USER_COUNT = 289,
72 DENY = 290,
73 DESCRIPTION = 291,
74 DIE = 292,
75 DISABLE_AUTH = 293,
76 DISABLE_FAKE_CHANNELS = 294,
77 DISABLE_HIDDEN = 295,
78 DISABLE_LOCAL_CHANNELS = 296,
79 DISABLE_REMOTE_COMMANDS = 297,
80 DOTS_IN_IDENT = 298,
81 DURATION = 299,
82 EGDPOOL_PATH = 300,
83 EMAIL = 301,
84 ENABLE = 302,
85 ENCRYPTED = 303,
86 EXCEED_LIMIT = 304,
87 EXEMPT = 305,
88 FAILED_OPER_NOTICE = 306,
89 IRCD_FLAGS = 307,
90 FLATTEN_LINKS = 308,
91 GECOS = 309,
92 GENERAL = 310,
93 GLINE = 311,
94 GLINES = 312,
95 GLINE_EXEMPT = 313,
96 GLINE_TIME = 314,
97 GLINE_MIN_CIDR = 315,
98 GLINE_MIN_CIDR6 = 316,
99 GLOBAL_KILL = 317,
100 IRCD_AUTH = 318,
101 NEED_IDENT = 319,
102 HAVENT_READ_CONF = 320,
103 HIDDEN = 321,
104 HIDDEN_ADMIN = 322,
105 HIDDEN_NAME = 323,
106 HIDDEN_OPER = 324,
107 HIDE_SERVER_IPS = 325,
108 HIDE_SERVERS = 326,
109 HIDE_SPOOF_IPS = 327,
110 HOST = 328,
111 HUB = 329,
112 HUB_MASK = 330,
113 IGNORE_BOGUS_TS = 331,
114 INVISIBLE_ON_CONNECT = 332,
115 IP = 333,
116 KILL = 334,
117 KILL_CHASE_TIME_LIMIT = 335,
118 KLINE = 336,
119 KLINE_EXEMPT = 337,
120 KLINE_REASON = 338,
121 KLINE_WITH_REASON = 339,
122 KNOCK_DELAY = 340,
123 KNOCK_DELAY_CHANNEL = 341,
124 LEAF_MASK = 342,
125 LINKS_DELAY = 343,
126 LISTEN = 344,
127 T_LOG = 345,
128 MAX_ACCEPT = 346,
129 MAX_BANS = 347,
130 MAX_CHANS_PER_USER = 348,
131 MAX_GLOBAL = 349,
132 MAX_IDENT = 350,
133 MAX_LOCAL = 351,
134 MAX_NICK_CHANGES = 352,
135 MAX_NICK_TIME = 353,
136 MAX_NUMBER = 354,
137 MAX_TARGETS = 355,
138 MAX_WATCH = 356,
139 MESSAGE_LOCALE = 357,
140 MIN_NONWILDCARD = 358,
141 MIN_NONWILDCARD_SIMPLE = 359,
142 MODULE = 360,
143 MODULES = 361,
144 NAME = 362,
145 NEED_PASSWORD = 363,
146 NETWORK_DESC = 364,
147 NETWORK_NAME = 365,
148 NICK = 366,
149 NICK_CHANGES = 367,
150 NO_CREATE_ON_SPLIT = 368,
151 NO_JOIN_ON_SPLIT = 369,
152 NO_OPER_FLOOD = 370,
153 NO_TILDE = 371,
154 NUMBER = 372,
155 NUMBER_PER_IDENT = 373,
156 NUMBER_PER_CIDR = 374,
157 NUMBER_PER_IP = 375,
158 NUMBER_PER_IP_GLOBAL = 376,
159 OPERATOR = 377,
160 OPERS_BYPASS_CALLERID = 378,
161 OPER_ONLY_UMODES = 379,
162 OPER_PASS_RESV = 380,
163 OPER_SPY_T = 381,
164 OPER_UMODES = 382,
165 JOIN_FLOOD_COUNT = 383,
166 JOIN_FLOOD_TIME = 384,
167 PACE_WAIT = 385,
168 PACE_WAIT_SIMPLE = 386,
169 PASSWORD = 387,
170 PATH = 388,
171 PING_COOKIE = 389,
172 PING_TIME = 390,
173 PING_WARNING = 391,
174 PORT = 392,
175 QSTRING = 393,
176 QUIET_ON_BAN = 394,
177 REASON = 395,
178 REDIRPORT = 396,
179 REDIRSERV = 397,
180 REGEX_T = 398,
181 REHASH = 399,
182 TREJECT_HOLD_TIME = 400,
183 REMOTE = 401,
184 REMOTEBAN = 402,
185 RESTRICT_CHANNELS = 403,
186 RESTRICTED = 404,
187 RSA_PRIVATE_KEY_FILE = 405,
188 RSA_PUBLIC_KEY_FILE = 406,
189 SSL_CERTIFICATE_FILE = 407,
190 T_SSL_CONNECTION_METHOD = 408,
191 T_SSLV3 = 409,
192 T_TLSV1 = 410,
193 RESV = 411,
194 RESV_EXEMPT = 412,
195 SECONDS = 413,
196 MINUTES = 414,
197 HOURS = 415,
198 DAYS = 416,
199 WEEKS = 417,
200 SENDQ = 418,
201 SEND_PASSWORD = 419,
202 SERVERHIDE = 420,
203 SERVERINFO = 421,
204 SERVLINK_PATH = 422,
205 IRCD_SID = 423,
206 TKLINE_EXPIRE_NOTICES = 424,
207 T_SHARED = 425,
208 T_CLUSTER = 426,
209 TYPE = 427,
210 SHORT_MOTD = 428,
211 SILENT = 429,
212 SPOOF = 430,
213 SPOOF_NOTICE = 431,
214 STATS_E_DISABLED = 432,
215 STATS_I_OPER_ONLY = 433,
216 STATS_K_OPER_ONLY = 434,
217 STATS_O_OPER_ONLY = 435,
218 STATS_P_OPER_ONLY = 436,
219 TBOOL = 437,
220 TMASKED = 438,
221 T_REJECT = 439,
222 TS_MAX_DELTA = 440,
223 TS_WARN_DELTA = 441,
224 TWODOTS = 442,
225 T_ALL = 443,
226 T_BOTS = 444,
227 T_SOFTCALLERID = 445,
228 T_CALLERID = 446,
229 T_CCONN = 447,
230 T_CCONN_FULL = 448,
231 T_CLIENT_FLOOD = 449,
232 T_DEAF = 450,
233 T_DEBUG = 451,
234 T_DLINE = 452,
235 T_DRONE = 453,
236 T_EXTERNAL = 454,
237 T_FULL = 455,
238 T_INVISIBLE = 456,
239 T_IPV4 = 457,
240 T_IPV6 = 458,
241 T_LOCOPS = 459,
242 T_MAX_CLIENTS = 460,
243 T_NCHANGE = 461,
244 T_OPERWALL = 462,
245 T_REJ = 463,
246 T_SERVER = 464,
247 T_SERVNOTICE = 465,
248 T_SKILL = 466,
249 T_SPY = 467,
250 T_SSL = 468,
251 T_UMODES = 469,
252 T_UNAUTH = 470,
253 T_UNRESV = 471,
254 T_UNXLINE = 472,
255 T_GLOBOPS = 473,
256 T_WALLOP = 474,
257 T_RESTART = 475,
258 T_SERVICE = 476,
259 T_SERVICES_NAME = 477,
260 T_TIMESTAMP = 478,
261 THROTTLE_TIME = 479,
262 TOPICBURST = 480,
263 TRUE_NO_OPER_FLOOD = 481,
264 TKLINE = 482,
265 TXLINE = 483,
266 TRESV = 484,
267 UNKLINE = 485,
268 USER = 486,
269 USE_EGD = 487,
270 USE_EXCEPT = 488,
271 USE_INVEX = 489,
272 USE_KNOCK = 490,
273 USE_LOGGING = 491,
274 USE_WHOIS_ACTUALLY = 492,
275 VHOST = 493,
276 VHOST6 = 494,
277 XLINE = 495,
278 WARN = 496,
279 WARN_NO_NLINE = 497,
280 T_SIZE = 498,
281 T_FILE = 499
282 };
283 #endif
284 /* Tokens. */
285 #define ACCEPT_PASSWORD 258
286 #define ACTION 259
287 #define ADMIN 260
288 #define AFTYPE 261
289 #define T_ALLOW 262
290 #define ANTI_NICK_FLOOD 263
291 #define ANTI_SPAM_EXIT_MESSAGE_TIME 264
292 #define AUTOCONN 265
293 #define T_BLOCK 266
294 #define BURST_AWAY 267
295 #define BURST_TOPICWHO 268
296 #define BYTES 269
297 #define KBYTES 270
298 #define MBYTES 271
299 #define GBYTES 272
300 #define TBYTES 273
301 #define CALLER_ID_WAIT 274
302 #define CAN_FLOOD 275
303 #define CHANNEL 276
304 #define CIDR_BITLEN_IPV4 277
305 #define CIDR_BITLEN_IPV6 278
306 #define CIPHER_PREFERENCE 279
307 #define CLASS 280
308 #define COMPRESSED 281
309 #define COMPRESSION_LEVEL 282
310 #define CONNECT 283
311 #define CONNECTFREQ 284
312 #define CRYPTLINK 285
313 #define DEFAULT_CIPHER_PREFERENCE 286
314 #define DEFAULT_FLOODCOUNT 287
315 #define DEFAULT_SPLIT_SERVER_COUNT 288
316 #define DEFAULT_SPLIT_USER_COUNT 289
317 #define DENY 290
318 #define DESCRIPTION 291
319 #define DIE 292
320 #define DISABLE_AUTH 293
321 #define DISABLE_FAKE_CHANNELS 294
322 #define DISABLE_HIDDEN 295
323 #define DISABLE_LOCAL_CHANNELS 296
324 #define DISABLE_REMOTE_COMMANDS 297
325 #define DOTS_IN_IDENT 298
326 #define DURATION 299
327 #define EGDPOOL_PATH 300
328 #define EMAIL 301
329 #define ENABLE 302
330 #define ENCRYPTED 303
331 #define EXCEED_LIMIT 304
332 #define EXEMPT 305
333 #define FAILED_OPER_NOTICE 306
334 #define IRCD_FLAGS 307
335 #define FLATTEN_LINKS 308
336 #define GECOS 309
337 #define GENERAL 310
338 #define GLINE 311
339 #define GLINES 312
340 #define GLINE_EXEMPT 313
341 #define GLINE_TIME 314
342 #define GLINE_MIN_CIDR 315
343 #define GLINE_MIN_CIDR6 316
344 #define GLOBAL_KILL 317
345 #define IRCD_AUTH 318
346 #define NEED_IDENT 319
347 #define HAVENT_READ_CONF 320
348 #define HIDDEN 321
349 #define HIDDEN_ADMIN 322
350 #define HIDDEN_NAME 323
351 #define HIDDEN_OPER 324
352 #define HIDE_SERVER_IPS 325
353 #define HIDE_SERVERS 326
354 #define HIDE_SPOOF_IPS 327
355 #define HOST 328
356 #define HUB 329
357 #define HUB_MASK 330
358 #define IGNORE_BOGUS_TS 331
359 #define INVISIBLE_ON_CONNECT 332
360 #define IP 333
361 #define KILL 334
362 #define KILL_CHASE_TIME_LIMIT 335
363 #define KLINE 336
364 #define KLINE_EXEMPT 337
365 #define KLINE_REASON 338
366 #define KLINE_WITH_REASON 339
367 #define KNOCK_DELAY 340
368 #define KNOCK_DELAY_CHANNEL 341
369 #define LEAF_MASK 342
370 #define LINKS_DELAY 343
371 #define LISTEN 344
372 #define T_LOG 345
373 #define MAX_ACCEPT 346
374 #define MAX_BANS 347
375 #define MAX_CHANS_PER_USER 348
376 #define MAX_GLOBAL 349
377 #define MAX_IDENT 350
378 #define MAX_LOCAL 351
379 #define MAX_NICK_CHANGES 352
380 #define MAX_NICK_TIME 353
381 #define MAX_NUMBER 354
382 #define MAX_TARGETS 355
383 #define MAX_WATCH 356
384 #define MESSAGE_LOCALE 357
385 #define MIN_NONWILDCARD 358
386 #define MIN_NONWILDCARD_SIMPLE 359
387 #define MODULE 360
388 #define MODULES 361
389 #define NAME 362
390 #define NEED_PASSWORD 363
391 #define NETWORK_DESC 364
392 #define NETWORK_NAME 365
393 #define NICK 366
394 #define NICK_CHANGES 367
395 #define NO_CREATE_ON_SPLIT 368
396 #define NO_JOIN_ON_SPLIT 369
397 #define NO_OPER_FLOOD 370
398 #define NO_TILDE 371
399 #define NUMBER 372
400 #define NUMBER_PER_IDENT 373
401 #define NUMBER_PER_CIDR 374
402 #define NUMBER_PER_IP 375
403 #define NUMBER_PER_IP_GLOBAL 376
404 #define OPERATOR 377
405 #define OPERS_BYPASS_CALLERID 378
406 #define OPER_ONLY_UMODES 379
407 #define OPER_PASS_RESV 380
408 #define OPER_SPY_T 381
409 #define OPER_UMODES 382
410 #define JOIN_FLOOD_COUNT 383
411 #define JOIN_FLOOD_TIME 384
412 #define PACE_WAIT 385
413 #define PACE_WAIT_SIMPLE 386
414 #define PASSWORD 387
415 #define PATH 388
416 #define PING_COOKIE 389
417 #define PING_TIME 390
418 #define PING_WARNING 391
419 #define PORT 392
420 #define QSTRING 393
421 #define QUIET_ON_BAN 394
422 #define REASON 395
423 #define REDIRPORT 396
424 #define REDIRSERV 397
425 #define REGEX_T 398
426 #define REHASH 399
427 #define TREJECT_HOLD_TIME 400
428 #define REMOTE 401
429 #define REMOTEBAN 402
430 #define RESTRICT_CHANNELS 403
431 #define RESTRICTED 404
432 #define RSA_PRIVATE_KEY_FILE 405
433 #define RSA_PUBLIC_KEY_FILE 406
434 #define SSL_CERTIFICATE_FILE 407
435 #define T_SSL_CONNECTION_METHOD 408
436 #define T_SSLV3 409
437 #define T_TLSV1 410
438 #define RESV 411
439 #define RESV_EXEMPT 412
440 #define SECONDS 413
441 #define MINUTES 414
442 #define HOURS 415
443 #define DAYS 416
444 #define WEEKS 417
445 #define SENDQ 418
446 #define SEND_PASSWORD 419
447 #define SERVERHIDE 420
448 #define SERVERINFO 421
449 #define SERVLINK_PATH 422
450 #define IRCD_SID 423
451 #define TKLINE_EXPIRE_NOTICES 424
452 #define T_SHARED 425
453 #define T_CLUSTER 426
454 #define TYPE 427
455 #define SHORT_MOTD 428
456 #define SILENT 429
457 #define SPOOF 430
458 #define SPOOF_NOTICE 431
459 #define STATS_E_DISABLED 432
460 #define STATS_I_OPER_ONLY 433
461 #define STATS_K_OPER_ONLY 434
462 #define STATS_O_OPER_ONLY 435
463 #define STATS_P_OPER_ONLY 436
464 #define TBOOL 437
465 #define TMASKED 438
466 #define T_REJECT 439
467 #define TS_MAX_DELTA 440
468 #define TS_WARN_DELTA 441
469 #define TWODOTS 442
470 #define T_ALL 443
471 #define T_BOTS 444
472 #define T_SOFTCALLERID 445
473 #define T_CALLERID 446
474 #define T_CCONN 447
475 #define T_CCONN_FULL 448
476 #define T_CLIENT_FLOOD 449
477 #define T_DEAF 450
478 #define T_DEBUG 451
479 #define T_DLINE 452
480 #define T_DRONE 453
481 #define T_EXTERNAL 454
482 #define T_FULL 455
483 #define T_INVISIBLE 456
484 #define T_IPV4 457
485 #define T_IPV6 458
486 #define T_LOCOPS 459
487 #define T_MAX_CLIENTS 460
488 #define T_NCHANGE 461
489 #define T_OPERWALL 462
490 #define T_REJ 463
491 #define T_SERVER 464
492 #define T_SERVNOTICE 465
493 #define T_SKILL 466
494 #define T_SPY 467
495 #define T_SSL 468
496 #define T_UMODES 469
497 #define T_UNAUTH 470
498 #define T_UNRESV 471
499 #define T_UNXLINE 472
500 #define T_GLOBOPS 473
501 #define T_WALLOP 474
502 #define T_RESTART 475
503 #define T_SERVICE 476
504 #define T_SERVICES_NAME 477
505 #define T_TIMESTAMP 478
506 #define THROTTLE_TIME 479
507 #define TOPICBURST 480
508 #define TRUE_NO_OPER_FLOOD 481
509 #define TKLINE 482
510 #define TXLINE 483
511 #define TRESV 484
512 #define UNKLINE 485
513 #define USER 486
514 #define USE_EGD 487
515 #define USE_EXCEPT 488
516 #define USE_INVEX 489
517 #define USE_KNOCK 490
518 #define USE_LOGGING 491
519 #define USE_WHOIS_ACTUALLY 492
520 #define VHOST 493
521 #define VHOST6 494
522 #define XLINE 495
523 #define WARN 496
524 #define WARN_NO_NLINE 497
525 #define T_SIZE 498
526 #define T_FILE 499
527
528
529
530
531 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
532 typedef union YYSTYPE
533 {
534
535 /* Line 2068 of yacc.c */
536 #line 132 "ircd_parser.y"
537
538 int number;
539 char *string;
540
541
542
543 /* Line 2068 of yacc.c */
544 #line 545 "ircd_parser.h"
545 } YYSTYPE;
546 # define YYSTYPE_IS_TRIVIAL 1
547 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
548 # define YYSTYPE_IS_DECLARED 1
549 #endif
550
551 extern YYSTYPE yylval;
552
553

Properties

Name Value
svn:eol-style native