ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid-8/src/conf_parser.h
Revision: 1118
Committed: Thu Jan 6 13:39:10 2011 UTC (14 years, 7 months ago) by michael
Content type: text/x-chdr
Original Path: ircd-hybrid-7.3/src/ircd_parser.h
File size: 14230 byte(s)
Log Message:
- cleanup and sanitize m_server.c. remove hostmasking. Improve TS6 suppport

File Contents

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

Properties

Name Value
svn:eol-style native