ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/trunk/src/conf_parser.h
Revision: 1832
Committed: Fri Apr 19 19:16:09 2013 UTC (12 years, 4 months ago) by michael
Content type: text/x-chdr
File size: 12962 byte(s)
Log Message:
- Made all numeric defines use the actual string instead of the numeric value
  which allows to use gcc's printf format attribute
- Remove current message locale implementation

File Contents

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

Properties

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