ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid-8/src/ircd_parser.h
Revision: 1176
Committed: Sun Aug 14 11:24:24 2011 UTC (14 years ago) by michael
Content type: text/x-chdr
File size: 14186 byte(s)
Log Message:
- remove idle-time klines
- rename LocalUser.last to LocalUser.last_privmsg
- m_message.c: reset source_p->last_privmsg even if a client is messaging itself


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

Properties

Name Value
svn:eol-style native