ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/trunk/src/conf_parser.h
Revision: 1858
Committed: Thu Apr 25 15:00:52 2013 UTC (12 years, 4 months ago) by michael
Content type: text/x-chdr
File size: 13042 byte(s)
Log Message:
- Added basic support for libGeoIP
- Added exempt configuration option to resv{} blocks

File Contents

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

Properties

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