ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid-8/src/conf_parser.h
Revision: 1309
Committed: Sun Mar 25 11:24:18 2012 UTC (12 years ago) by michael
Content type: text/x-chdr
File size: 13302 byte(s)
Log Message:
- renaming files:

  ircd_parser.y -> conf_parser.y
  ircd_lexer.l  -> conf_lexer.l
  s_conf.c      -> conf.c
  s_conf.h      -> conf.h
  s_log.c       -> log.c
  s_log.h       -> log.h

File Contents

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

Properties

Name Value
svn:eol-style native