/[svn]/ircd-hybrid-7.2/src/ircd_parser.h
ViewVC logotype

Contents of /ircd-hybrid-7.2/src/ircd_parser.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1011 - (show annotations)
Fri Sep 18 10:14:09 2009 UTC (10 years, 1 month ago) by michael
File MIME type: text/x-csrc
File size: 14317 byte(s)
- move list manipulation routines from tools.c to list.c
- mem_frob() goes to memory.c
- sort out redundant/unneeded header includes

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

Properties

Name Value
svn:eol-style native

svnadmin@ircd-hybrid.org
ViewVC Help
Powered by ViewVC 1.1.26