ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/trunk/src/conf_parser.h
Revision: 1157
Committed: Tue Aug 9 22:03:59 2011 UTC (12 years, 7 months ago) by michael
Content type: text/x-chdr
Original Path: ircd-hybrid-8/src/ircd_parser.h
File size: 14268 byte(s)
Log Message:
- preliminary services support

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

Properties

Name Value
svn:eol-style native