ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/trunk/src/conf_parser.h
Revision: 4545
Committed: Fri Aug 22 08:46:13 2014 UTC (11 years ago) by michael
Content type: text/x-chdr
File size: 12974 byte(s)
Log Message:
- Implemented pseudo {} blocks (service aliases)
- Fixed compile warnings with -Wmissing-field-initializers

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

Properties

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