ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid-8/src/ircd_parser.h
Revision: 1301
Committed: Sat Mar 10 21:47:17 2012 UTC (12 years ago) by michael
Content type: text/x-chdr
File size: 13520 byte(s)
Log Message:
- add 'dline' and 'undline' operator flags
- implement remote dlines mainly for services purposes, but can be used
  by operators as well
- update example configuration files; remove invalid shared::flags entries

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_NAME = 322,
105 HIDE_SERVER_IPS = 323,
106 HIDE_SERVERS = 324,
107 HIDE_SPOOF_IPS = 325,
108 HOST = 326,
109 HUB = 327,
110 HUB_MASK = 328,
111 IGNORE_BOGUS_TS = 329,
112 INVISIBLE_ON_CONNECT = 330,
113 IP = 331,
114 KILL = 332,
115 KILL_CHASE_TIME_LIMIT = 333,
116 KLINE = 334,
117 KLINE_EXEMPT = 335,
118 KLINE_REASON = 336,
119 KLINE_WITH_REASON = 337,
120 KNOCK_DELAY = 338,
121 KNOCK_DELAY_CHANNEL = 339,
122 LEAF_MASK = 340,
123 LINKS_DELAY = 341,
124 LISTEN = 342,
125 T_LOG = 343,
126 MAX_ACCEPT = 344,
127 MAX_BANS = 345,
128 MAX_CHANS_PER_USER = 346,
129 MAX_GLOBAL = 347,
130 MAX_IDENT = 348,
131 MAX_LOCAL = 349,
132 MAX_NICK_CHANGES = 350,
133 MAX_NICK_TIME = 351,
134 MAX_NUMBER = 352,
135 MAX_TARGETS = 353,
136 MAX_WATCH = 354,
137 MESSAGE_LOCALE = 355,
138 MIN_NONWILDCARD = 356,
139 MIN_NONWILDCARD_SIMPLE = 357,
140 MODULE = 358,
141 MODULES = 359,
142 NAME = 360,
143 NEED_PASSWORD = 361,
144 NETWORK_DESC = 362,
145 NETWORK_NAME = 363,
146 NICK = 364,
147 NICK_CHANGES = 365,
148 NO_CREATE_ON_SPLIT = 366,
149 NO_JOIN_ON_SPLIT = 367,
150 NO_OPER_FLOOD = 368,
151 NO_TILDE = 369,
152 NUMBER = 370,
153 NUMBER_PER_IDENT = 371,
154 NUMBER_PER_CIDR = 372,
155 NUMBER_PER_IP = 373,
156 NUMBER_PER_IP_GLOBAL = 374,
157 OPERATOR = 375,
158 OPERS_BYPASS_CALLERID = 376,
159 OPER_ONLY_UMODES = 377,
160 OPER_PASS_RESV = 378,
161 OPER_SPY_T = 379,
162 OPER_UMODES = 380,
163 JOIN_FLOOD_COUNT = 381,
164 JOIN_FLOOD_TIME = 382,
165 PACE_WAIT = 383,
166 PACE_WAIT_SIMPLE = 384,
167 PASSWORD = 385,
168 PATH = 386,
169 PING_COOKIE = 387,
170 PING_TIME = 388,
171 PING_WARNING = 389,
172 PORT = 390,
173 QSTRING = 391,
174 QUIET_ON_BAN = 392,
175 REASON = 393,
176 REDIRPORT = 394,
177 REDIRSERV = 395,
178 REGEX_T = 396,
179 REHASH = 397,
180 TREJECT_HOLD_TIME = 398,
181 REMOTE = 399,
182 REMOTEBAN = 400,
183 RESTRICT_CHANNELS = 401,
184 RESTRICTED = 402,
185 RSA_PRIVATE_KEY_FILE = 403,
186 RSA_PUBLIC_KEY_FILE = 404,
187 SSL_CERTIFICATE_FILE = 405,
188 T_SSL_CONNECTION_METHOD = 406,
189 T_SSLV3 = 407,
190 T_TLSV1 = 408,
191 RESV = 409,
192 RESV_EXEMPT = 410,
193 SECONDS = 411,
194 MINUTES = 412,
195 HOURS = 413,
196 DAYS = 414,
197 WEEKS = 415,
198 SENDQ = 416,
199 SEND_PASSWORD = 417,
200 SERVERHIDE = 418,
201 SERVERINFO = 419,
202 SERVLINK_PATH = 420,
203 IRCD_SID = 421,
204 TKLINE_EXPIRE_NOTICES = 422,
205 T_SHARED = 423,
206 T_CLUSTER = 424,
207 TYPE = 425,
208 SHORT_MOTD = 426,
209 SILENT = 427,
210 SPOOF = 428,
211 SPOOF_NOTICE = 429,
212 STATS_E_DISABLED = 430,
213 STATS_I_OPER_ONLY = 431,
214 STATS_K_OPER_ONLY = 432,
215 STATS_O_OPER_ONLY = 433,
216 STATS_P_OPER_ONLY = 434,
217 TBOOL = 435,
218 TMASKED = 436,
219 T_REJECT = 437,
220 TS_MAX_DELTA = 438,
221 TS_WARN_DELTA = 439,
222 TWODOTS = 440,
223 T_ALL = 441,
224 T_BOTS = 442,
225 T_SOFTCALLERID = 443,
226 T_CALLERID = 444,
227 T_CCONN = 445,
228 T_CCONN_FULL = 446,
229 T_CLIENT_FLOOD = 447,
230 T_DEAF = 448,
231 T_DEBUG = 449,
232 T_DLINE = 450,
233 T_DRONE = 451,
234 T_EXTERNAL = 452,
235 T_FULL = 453,
236 T_INVISIBLE = 454,
237 T_IPV4 = 455,
238 T_IPV6 = 456,
239 T_LOCOPS = 457,
240 T_MAX_CLIENTS = 458,
241 T_NCHANGE = 459,
242 T_OPERWALL = 460,
243 T_REJ = 461,
244 T_SERVER = 462,
245 T_SERVNOTICE = 463,
246 T_SKILL = 464,
247 T_SPY = 465,
248 T_SSL = 466,
249 T_UMODES = 467,
250 T_UNAUTH = 468,
251 T_UNDLINE = 469,
252 T_UNLIMITED = 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_NAME 322
350 #define HIDE_SERVER_IPS 323
351 #define HIDE_SERVERS 324
352 #define HIDE_SPOOF_IPS 325
353 #define HOST 326
354 #define HUB 327
355 #define HUB_MASK 328
356 #define IGNORE_BOGUS_TS 329
357 #define INVISIBLE_ON_CONNECT 330
358 #define IP 331
359 #define KILL 332
360 #define KILL_CHASE_TIME_LIMIT 333
361 #define KLINE 334
362 #define KLINE_EXEMPT 335
363 #define KLINE_REASON 336
364 #define KLINE_WITH_REASON 337
365 #define KNOCK_DELAY 338
366 #define KNOCK_DELAY_CHANNEL 339
367 #define LEAF_MASK 340
368 #define LINKS_DELAY 341
369 #define LISTEN 342
370 #define T_LOG 343
371 #define MAX_ACCEPT 344
372 #define MAX_BANS 345
373 #define MAX_CHANS_PER_USER 346
374 #define MAX_GLOBAL 347
375 #define MAX_IDENT 348
376 #define MAX_LOCAL 349
377 #define MAX_NICK_CHANGES 350
378 #define MAX_NICK_TIME 351
379 #define MAX_NUMBER 352
380 #define MAX_TARGETS 353
381 #define MAX_WATCH 354
382 #define MESSAGE_LOCALE 355
383 #define MIN_NONWILDCARD 356
384 #define MIN_NONWILDCARD_SIMPLE 357
385 #define MODULE 358
386 #define MODULES 359
387 #define NAME 360
388 #define NEED_PASSWORD 361
389 #define NETWORK_DESC 362
390 #define NETWORK_NAME 363
391 #define NICK 364
392 #define NICK_CHANGES 365
393 #define NO_CREATE_ON_SPLIT 366
394 #define NO_JOIN_ON_SPLIT 367
395 #define NO_OPER_FLOOD 368
396 #define NO_TILDE 369
397 #define NUMBER 370
398 #define NUMBER_PER_IDENT 371
399 #define NUMBER_PER_CIDR 372
400 #define NUMBER_PER_IP 373
401 #define NUMBER_PER_IP_GLOBAL 374
402 #define OPERATOR 375
403 #define OPERS_BYPASS_CALLERID 376
404 #define OPER_ONLY_UMODES 377
405 #define OPER_PASS_RESV 378
406 #define OPER_SPY_T 379
407 #define OPER_UMODES 380
408 #define JOIN_FLOOD_COUNT 381
409 #define JOIN_FLOOD_TIME 382
410 #define PACE_WAIT 383
411 #define PACE_WAIT_SIMPLE 384
412 #define PASSWORD 385
413 #define PATH 386
414 #define PING_COOKIE 387
415 #define PING_TIME 388
416 #define PING_WARNING 389
417 #define PORT 390
418 #define QSTRING 391
419 #define QUIET_ON_BAN 392
420 #define REASON 393
421 #define REDIRPORT 394
422 #define REDIRSERV 395
423 #define REGEX_T 396
424 #define REHASH 397
425 #define TREJECT_HOLD_TIME 398
426 #define REMOTE 399
427 #define REMOTEBAN 400
428 #define RESTRICT_CHANNELS 401
429 #define RESTRICTED 402
430 #define RSA_PRIVATE_KEY_FILE 403
431 #define RSA_PUBLIC_KEY_FILE 404
432 #define SSL_CERTIFICATE_FILE 405
433 #define T_SSL_CONNECTION_METHOD 406
434 #define T_SSLV3 407
435 #define T_TLSV1 408
436 #define RESV 409
437 #define RESV_EXEMPT 410
438 #define SECONDS 411
439 #define MINUTES 412
440 #define HOURS 413
441 #define DAYS 414
442 #define WEEKS 415
443 #define SENDQ 416
444 #define SEND_PASSWORD 417
445 #define SERVERHIDE 418
446 #define SERVERINFO 419
447 #define SERVLINK_PATH 420
448 #define IRCD_SID 421
449 #define TKLINE_EXPIRE_NOTICES 422
450 #define T_SHARED 423
451 #define T_CLUSTER 424
452 #define TYPE 425
453 #define SHORT_MOTD 426
454 #define SILENT 427
455 #define SPOOF 428
456 #define SPOOF_NOTICE 429
457 #define STATS_E_DISABLED 430
458 #define STATS_I_OPER_ONLY 431
459 #define STATS_K_OPER_ONLY 432
460 #define STATS_O_OPER_ONLY 433
461 #define STATS_P_OPER_ONLY 434
462 #define TBOOL 435
463 #define TMASKED 436
464 #define T_REJECT 437
465 #define TS_MAX_DELTA 438
466 #define TS_WARN_DELTA 439
467 #define TWODOTS 440
468 #define T_ALL 441
469 #define T_BOTS 442
470 #define T_SOFTCALLERID 443
471 #define T_CALLERID 444
472 #define T_CCONN 445
473 #define T_CCONN_FULL 446
474 #define T_CLIENT_FLOOD 447
475 #define T_DEAF 448
476 #define T_DEBUG 449
477 #define T_DLINE 450
478 #define T_DRONE 451
479 #define T_EXTERNAL 452
480 #define T_FULL 453
481 #define T_INVISIBLE 454
482 #define T_IPV4 455
483 #define T_IPV6 456
484 #define T_LOCOPS 457
485 #define T_MAX_CLIENTS 458
486 #define T_NCHANGE 459
487 #define T_OPERWALL 460
488 #define T_REJ 461
489 #define T_SERVER 462
490 #define T_SERVNOTICE 463
491 #define T_SKILL 464
492 #define T_SPY 465
493 #define T_SSL 466
494 #define T_UMODES 467
495 #define T_UNAUTH 468
496 #define T_UNDLINE 469
497 #define T_UNLIMITED 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