ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/trunk/src/conf_parser.h
Revision: 3860
Committed: Thu Jun 5 19:55:07 2014 UTC (11 years, 2 months ago) by michael
Content type: text/x-chdr
File size: 12894 byte(s)
Log Message:
- Made the INVITE/KNOCK throttling logic less aggressive as requested by Adam

File Contents

# User Rev Content
1 michael 2853 /* A Bison parser, made by GNU Bison 3.0.2. */
2 michael 913
3 michael 1133 /* Bison interface for Yacc-like parsers in C
4 michael 2473
5     Copyright (C) 1984, 1989-1990, 2000-2013 Free Software Foundation, Inc.
6    
7 michael 967 This program is free software: you can redistribute it and/or modify
8 michael 913 it under the terms of the GNU General Public License as published by
9 michael 967 the Free Software Foundation, either version 3 of the License, or
10     (at your option) any later version.
11 michael 2473
12 michael 913 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 michael 2473
17 michael 913 You should have received a copy of the GNU General Public License
18 michael 967 along with this program. If not, see <http://www.gnu.org/licenses/>. */
19 michael 913
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 michael 2473
30 michael 913 This special exception was added by the Free Software Foundation in
31     version 2.2 of Bison. */
32    
33 michael 1736 #ifndef YY_YY_CONF_PARSER_H_INCLUDED
34     # define YY_YY_CONF_PARSER_H_INCLUDED
35 michael 2473 /* Debug traces. */
36 michael 1466 #ifndef YYDEBUG
37     # define YYDEBUG 0
38     #endif
39     #if YYDEBUG
40     extern int yydebug;
41     #endif
42 michael 967
43 michael 2473 /* Token type. */
44 michael 913 #ifndef YYTOKENTYPE
45     # define YYTOKENTYPE
46 michael 2473 enum yytokentype
47     {
48     ACCEPT_PASSWORD = 258,
49     ADMIN = 259,
50     AFTYPE = 260,
51     ANTI_NICK_FLOOD = 261,
52     ANTI_SPAM_EXIT_MESSAGE_TIME = 262,
53     AUTOCONN = 263,
54     BYTES = 264,
55     KBYTES = 265,
56     MBYTES = 266,
57     CALLER_ID_WAIT = 267,
58     CAN_FLOOD = 268,
59     CHANNEL = 269,
60     CIDR_BITLEN_IPV4 = 270,
61     CIDR_BITLEN_IPV6 = 271,
62     CLASS = 272,
63     CONNECT = 273,
64     CONNECTFREQ = 274,
65     CYCLE_ON_HOST_CHANGE = 275,
66     DEFAULT_FLOODCOUNT = 276,
67     DEFAULT_SPLIT_SERVER_COUNT = 277,
68     DEFAULT_SPLIT_USER_COUNT = 278,
69     DENY = 279,
70     DESCRIPTION = 280,
71     DIE = 281,
72     DISABLE_AUTH = 282,
73     DISABLE_FAKE_CHANNELS = 283,
74     DISABLE_REMOTE_COMMANDS = 284,
75     DOTS_IN_IDENT = 285,
76     EGDPOOL_PATH = 286,
77     EMAIL = 287,
78     ENCRYPTED = 288,
79     EXCEED_LIMIT = 289,
80     EXEMPT = 290,
81     FAILED_OPER_NOTICE = 291,
82     FLATTEN_LINKS = 292,
83     GECOS = 293,
84     GENERAL = 294,
85     GLINE = 295,
86     GLINE_DURATION = 296,
87     GLINE_ENABLE = 297,
88     GLINE_EXEMPT = 298,
89     GLINE_MIN_CIDR = 299,
90     GLINE_MIN_CIDR6 = 300,
91     GLINE_REQUEST_DURATION = 301,
92     GLOBAL_KILL = 302,
93     HAVENT_READ_CONF = 303,
94     HIDDEN = 304,
95     HIDDEN_NAME = 305,
96 michael 3513 HIDE_CHANS = 306,
97     HIDE_IDLE = 307,
98     HIDE_IDLE_FROM_OPERS = 308,
99     HIDE_SERVER_IPS = 309,
100     HIDE_SERVERS = 310,
101     HIDE_SERVICES = 311,
102     HIDE_SPOOF_IPS = 312,
103     HOST = 313,
104     HUB = 314,
105     HUB_MASK = 315,
106     IGNORE_BOGUS_TS = 316,
107     INVISIBLE_ON_CONNECT = 317,
108 michael 3860 INVITE_CLIENT_COUNT = 318,
109     INVITE_CLIENT_TIME = 319,
110 michael 3762 IP = 320,
111     IRCD_AUTH = 321,
112     IRCD_FLAGS = 322,
113     IRCD_SID = 323,
114     JOIN_FLOOD_COUNT = 324,
115     JOIN_FLOOD_TIME = 325,
116     KILL = 326,
117     KILL_CHASE_TIME_LIMIT = 327,
118     KLINE = 328,
119     KLINE_EXEMPT = 329,
120 michael 3860 KNOCK_CLIENT_COUNT = 330,
121     KNOCK_CLIENT_TIME = 331,
122     KNOCK_DELAY_CHANNEL = 332,
123     LEAF_MASK = 333,
124     LINKS_DELAY = 334,
125     LISTEN = 335,
126     MASK = 336,
127     MAX_ACCEPT = 337,
128     MAX_BANS = 338,
129     MAX_CHANS_PER_OPER = 339,
130     MAX_CHANS_PER_USER = 340,
131     MAX_GLOBAL = 341,
132     MAX_IDENT = 342,
133     MAX_IDLE = 343,
134     MAX_LOCAL = 344,
135     MAX_NICK_CHANGES = 345,
136     MAX_NICK_LENGTH = 346,
137     MAX_NICK_TIME = 347,
138     MAX_NUMBER = 348,
139     MAX_TARGETS = 349,
140     MAX_TOPIC_LENGTH = 350,
141     MAX_WATCH = 351,
142     MIN_IDLE = 352,
143     MIN_NONWILDCARD = 353,
144     MIN_NONWILDCARD_SIMPLE = 354,
145     MODULE = 355,
146     MODULES = 356,
147     MOTD = 357,
148     NAME = 358,
149     NEED_IDENT = 359,
150     NEED_PASSWORD = 360,
151     NETWORK_DESC = 361,
152     NETWORK_NAME = 362,
153     NICK = 363,
154     NO_CREATE_ON_SPLIT = 364,
155     NO_JOIN_ON_SPLIT = 365,
156     NO_OPER_FLOOD = 366,
157     NO_TILDE = 367,
158     NUMBER = 368,
159     NUMBER_PER_CIDR = 369,
160     NUMBER_PER_IP = 370,
161     OPER_ONLY_UMODES = 371,
162     OPER_PASS_RESV = 372,
163     OPER_UMODES = 373,
164     OPERATOR = 374,
165     OPERS_BYPASS_CALLERID = 375,
166     PACE_WAIT = 376,
167     PACE_WAIT_SIMPLE = 377,
168     PASSWORD = 378,
169     PATH = 379,
170     PING_COOKIE = 380,
171     PING_TIME = 381,
172     PORT = 382,
173     QSTRING = 383,
174     RANDOM_IDLE = 384,
175     REASON = 385,
176     REDIRPORT = 386,
177     REDIRSERV = 387,
178     REHASH = 388,
179     REMOTE = 389,
180     REMOTEBAN = 390,
181     RESV = 391,
182     RESV_EXEMPT = 392,
183     RSA_PRIVATE_KEY_FILE = 393,
184     RSA_PUBLIC_KEY_FILE = 394,
185     SECONDS = 395,
186     MINUTES = 396,
187     HOURS = 397,
188     DAYS = 398,
189     WEEKS = 399,
190     MONTHS = 400,
191     YEARS = 401,
192     SEND_PASSWORD = 402,
193     SENDQ = 403,
194     SERVERHIDE = 404,
195     SERVERINFO = 405,
196     SHORT_MOTD = 406,
197     SPOOF = 407,
198     SPOOF_NOTICE = 408,
199     SQUIT = 409,
200     SSL_CERTIFICATE_FILE = 410,
201     SSL_CERTIFICATE_FINGERPRINT = 411,
202     SSL_CONNECTION_REQUIRED = 412,
203     SSL_DH_PARAM_FILE = 413,
204     STATS_E_DISABLED = 414,
205     STATS_I_OPER_ONLY = 415,
206     STATS_K_OPER_ONLY = 416,
207     STATS_O_OPER_ONLY = 417,
208     STATS_P_OPER_ONLY = 418,
209     STATS_U_OPER_ONLY = 419,
210     T_ALL = 420,
211     T_BOTS = 421,
212     T_CALLERID = 422,
213     T_CCONN = 423,
214     T_CLUSTER = 424,
215     T_DEAF = 425,
216     T_DEBUG = 426,
217     T_DLINE = 427,
218     T_EXTERNAL = 428,
219     T_FARCONNECT = 429,
220     T_FILE = 430,
221     T_FULL = 431,
222     T_GLOBOPS = 432,
223     T_INVISIBLE = 433,
224     T_IPV4 = 434,
225     T_IPV6 = 435,
226     T_LOCOPS = 436,
227     T_LOG = 437,
228     T_MAX_CLIENTS = 438,
229     T_NCHANGE = 439,
230     T_NONONREG = 440,
231     T_OPERWALL = 441,
232     T_RECVQ = 442,
233     T_REJ = 443,
234     T_RESTART = 444,
235     T_SERVER = 445,
236     T_SERVICE = 446,
237     T_SERVICES_NAME = 447,
238     T_SERVNOTICE = 448,
239     T_SET = 449,
240     T_SHARED = 450,
241     T_SIZE = 451,
242     T_SKILL = 452,
243     T_SOFTCALLERID = 453,
244     T_SPY = 454,
245     T_SSL = 455,
246     T_SSL_CIPHER_LIST = 456,
247     T_SSL_CLIENT_METHOD = 457,
248     T_SSL_SERVER_METHOD = 458,
249     T_SSLV3 = 459,
250     T_TLSV1 = 460,
251     T_UMODES = 461,
252     T_UNAUTH = 462,
253     T_UNDLINE = 463,
254     T_UNLIMITED = 464,
255     T_UNRESV = 465,
256     T_UNXLINE = 466,
257     T_WALLOP = 467,
258     T_WALLOPS = 468,
259     T_WEBIRC = 469,
260     TBOOL = 470,
261     THROTTLE_TIME = 471,
262     TKLINE_EXPIRE_NOTICES = 472,
263     TMASKED = 473,
264     TRUE_NO_OPER_FLOOD = 474,
265     TS_MAX_DELTA = 475,
266     TS_WARN_DELTA = 476,
267     TWODOTS = 477,
268     TYPE = 478,
269     UNKLINE = 479,
270     USE_EGD = 480,
271     USE_LOGGING = 481,
272     USER = 482,
273     VHOST = 483,
274     VHOST6 = 484,
275     WARN_NO_CONNECT_BLOCK = 485,
276     XLINE = 486
277 michael 2473 };
278 michael 913 #endif
279     /* Tokens. */
280     #define ACCEPT_PASSWORD 258
281 michael 1520 #define ADMIN 259
282     #define AFTYPE 260
283     #define ANTI_NICK_FLOOD 261
284     #define ANTI_SPAM_EXIT_MESSAGE_TIME 262
285     #define AUTOCONN 263
286     #define BYTES 264
287     #define KBYTES 265
288     #define MBYTES 266
289     #define CALLER_ID_WAIT 267
290     #define CAN_FLOOD 268
291     #define CHANNEL 269
292     #define CIDR_BITLEN_IPV4 270
293     #define CIDR_BITLEN_IPV6 271
294     #define CLASS 272
295     #define CONNECT 273
296     #define CONNECTFREQ 274
297 michael 2283 #define CYCLE_ON_HOST_CHANGE 275
298     #define DEFAULT_FLOODCOUNT 276
299     #define DEFAULT_SPLIT_SERVER_COUNT 277
300     #define DEFAULT_SPLIT_USER_COUNT 278
301     #define DENY 279
302     #define DESCRIPTION 280
303     #define DIE 281
304     #define DISABLE_AUTH 282
305     #define DISABLE_FAKE_CHANNELS 283
306     #define DISABLE_REMOTE_COMMANDS 284
307     #define DOTS_IN_IDENT 285
308     #define EGDPOOL_PATH 286
309     #define EMAIL 287
310     #define ENCRYPTED 288
311     #define EXCEED_LIMIT 289
312     #define EXEMPT 290
313     #define FAILED_OPER_NOTICE 291
314     #define FLATTEN_LINKS 292
315     #define GECOS 293
316     #define GENERAL 294
317     #define GLINE 295
318     #define GLINE_DURATION 296
319     #define GLINE_ENABLE 297
320     #define GLINE_EXEMPT 298
321     #define GLINE_MIN_CIDR 299
322     #define GLINE_MIN_CIDR6 300
323     #define GLINE_REQUEST_DURATION 301
324     #define GLOBAL_KILL 302
325     #define HAVENT_READ_CONF 303
326     #define HIDDEN 304
327     #define HIDDEN_NAME 305
328 michael 3513 #define HIDE_CHANS 306
329     #define HIDE_IDLE 307
330     #define HIDE_IDLE_FROM_OPERS 308
331     #define HIDE_SERVER_IPS 309
332     #define HIDE_SERVERS 310
333     #define HIDE_SERVICES 311
334     #define HIDE_SPOOF_IPS 312
335     #define HOST 313
336     #define HUB 314
337     #define HUB_MASK 315
338     #define IGNORE_BOGUS_TS 316
339     #define INVISIBLE_ON_CONNECT 317
340 michael 3860 #define INVITE_CLIENT_COUNT 318
341     #define INVITE_CLIENT_TIME 319
342 michael 3762 #define IP 320
343     #define IRCD_AUTH 321
344     #define IRCD_FLAGS 322
345     #define IRCD_SID 323
346     #define JOIN_FLOOD_COUNT 324
347     #define JOIN_FLOOD_TIME 325
348     #define KILL 326
349     #define KILL_CHASE_TIME_LIMIT 327
350     #define KLINE 328
351     #define KLINE_EXEMPT 329
352 michael 3860 #define KNOCK_CLIENT_COUNT 330
353     #define KNOCK_CLIENT_TIME 331
354     #define KNOCK_DELAY_CHANNEL 332
355     #define LEAF_MASK 333
356     #define LINKS_DELAY 334
357     #define LISTEN 335
358     #define MASK 336
359     #define MAX_ACCEPT 337
360     #define MAX_BANS 338
361     #define MAX_CHANS_PER_OPER 339
362     #define MAX_CHANS_PER_USER 340
363     #define MAX_GLOBAL 341
364     #define MAX_IDENT 342
365     #define MAX_IDLE 343
366     #define MAX_LOCAL 344
367     #define MAX_NICK_CHANGES 345
368     #define MAX_NICK_LENGTH 346
369     #define MAX_NICK_TIME 347
370     #define MAX_NUMBER 348
371     #define MAX_TARGETS 349
372     #define MAX_TOPIC_LENGTH 350
373     #define MAX_WATCH 351
374     #define MIN_IDLE 352
375     #define MIN_NONWILDCARD 353
376     #define MIN_NONWILDCARD_SIMPLE 354
377     #define MODULE 355
378     #define MODULES 356
379     #define MOTD 357
380     #define NAME 358
381     #define NEED_IDENT 359
382     #define NEED_PASSWORD 360
383     #define NETWORK_DESC 361
384     #define NETWORK_NAME 362
385     #define NICK 363
386     #define NO_CREATE_ON_SPLIT 364
387     #define NO_JOIN_ON_SPLIT 365
388     #define NO_OPER_FLOOD 366
389     #define NO_TILDE 367
390     #define NUMBER 368
391     #define NUMBER_PER_CIDR 369
392     #define NUMBER_PER_IP 370
393     #define OPER_ONLY_UMODES 371
394     #define OPER_PASS_RESV 372
395     #define OPER_UMODES 373
396     #define OPERATOR 374
397     #define OPERS_BYPASS_CALLERID 375
398     #define PACE_WAIT 376
399     #define PACE_WAIT_SIMPLE 377
400     #define PASSWORD 378
401     #define PATH 379
402     #define PING_COOKIE 380
403     #define PING_TIME 381
404     #define PORT 382
405     #define QSTRING 383
406     #define RANDOM_IDLE 384
407     #define REASON 385
408     #define REDIRPORT 386
409     #define REDIRSERV 387
410     #define REHASH 388
411     #define REMOTE 389
412     #define REMOTEBAN 390
413     #define RESV 391
414     #define RESV_EXEMPT 392
415     #define RSA_PRIVATE_KEY_FILE 393
416     #define RSA_PUBLIC_KEY_FILE 394
417     #define SECONDS 395
418     #define MINUTES 396
419     #define HOURS 397
420     #define DAYS 398
421     #define WEEKS 399
422     #define MONTHS 400
423     #define YEARS 401
424     #define SEND_PASSWORD 402
425     #define SENDQ 403
426     #define SERVERHIDE 404
427     #define SERVERINFO 405
428     #define SHORT_MOTD 406
429     #define SPOOF 407
430     #define SPOOF_NOTICE 408
431     #define SQUIT 409
432     #define SSL_CERTIFICATE_FILE 410
433     #define SSL_CERTIFICATE_FINGERPRINT 411
434     #define SSL_CONNECTION_REQUIRED 412
435     #define SSL_DH_PARAM_FILE 413
436     #define STATS_E_DISABLED 414
437     #define STATS_I_OPER_ONLY 415
438     #define STATS_K_OPER_ONLY 416
439     #define STATS_O_OPER_ONLY 417
440     #define STATS_P_OPER_ONLY 418
441     #define STATS_U_OPER_ONLY 419
442     #define T_ALL 420
443     #define T_BOTS 421
444     #define T_CALLERID 422
445     #define T_CCONN 423
446     #define T_CLUSTER 424
447     #define T_DEAF 425
448     #define T_DEBUG 426
449     #define T_DLINE 427
450     #define T_EXTERNAL 428
451     #define T_FARCONNECT 429
452     #define T_FILE 430
453     #define T_FULL 431
454     #define T_GLOBOPS 432
455     #define T_INVISIBLE 433
456     #define T_IPV4 434
457     #define T_IPV6 435
458     #define T_LOCOPS 436
459     #define T_LOG 437
460     #define T_MAX_CLIENTS 438
461     #define T_NCHANGE 439
462     #define T_NONONREG 440
463     #define T_OPERWALL 441
464     #define T_RECVQ 442
465     #define T_REJ 443
466     #define T_RESTART 444
467     #define T_SERVER 445
468     #define T_SERVICE 446
469     #define T_SERVICES_NAME 447
470     #define T_SERVNOTICE 448
471     #define T_SET 449
472     #define T_SHARED 450
473     #define T_SIZE 451
474     #define T_SKILL 452
475     #define T_SOFTCALLERID 453
476     #define T_SPY 454
477     #define T_SSL 455
478     #define T_SSL_CIPHER_LIST 456
479     #define T_SSL_CLIENT_METHOD 457
480     #define T_SSL_SERVER_METHOD 458
481     #define T_SSLV3 459
482     #define T_TLSV1 460
483     #define T_UMODES 461
484     #define T_UNAUTH 462
485     #define T_UNDLINE 463
486     #define T_UNLIMITED 464
487     #define T_UNRESV 465
488     #define T_UNXLINE 466
489     #define T_WALLOP 467
490     #define T_WALLOPS 468
491     #define T_WEBIRC 469
492     #define TBOOL 470
493     #define THROTTLE_TIME 471
494     #define TKLINE_EXPIRE_NOTICES 472
495     #define TMASKED 473
496     #define TRUE_NO_OPER_FLOOD 474
497     #define TS_MAX_DELTA 475
498     #define TS_WARN_DELTA 476
499     #define TWODOTS 477
500     #define TYPE 478
501     #define UNKLINE 479
502     #define USE_EGD 480
503     #define USE_LOGGING 481
504     #define USER 482
505     #define VHOST 483
506     #define VHOST6 484
507     #define WARN_NO_CONNECT_BLOCK 485
508     #define XLINE 486
509 michael 913
510 michael 2473 /* Value type. */
511 michael 913 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
512 michael 2473 typedef union YYSTYPE YYSTYPE;
513     union YYSTYPE
514 michael 967 {
515 michael 3473 #line 146 "conf_parser.y" /* yacc.c:1909 */
516 michael 967
517 michael 913 int number;
518     char *string;
519 michael 967
520 michael 3860 #line 521 "conf_parser.h" /* yacc.c:1909 */
521 michael 2473 };
522 michael 967 # define YYSTYPE_IS_TRIVIAL 1
523 michael 913 # define YYSTYPE_IS_DECLARED 1
524     #endif
525    
526 michael 2473
527 michael 913 extern YYSTYPE yylval;
528    
529 michael 1466 int yyparse (void);
530 michael 967
531 michael 1736 #endif /* !YY_YY_CONF_PARSER_H_INCLUDED */

Properties

Name Value
svn:eol-style native
svn:keywords Id Revision