ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/trunk/src/conf_parser.h
Revision: 2150
Committed: Fri May 31 18:39:43 2013 UTC (12 years, 2 months ago) by michael
Content type: text/x-chdr
File size: 13020 byte(s)
Log Message:
- Implement motd{} configuration blocks based on ircu's implementation

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 michael 2129 FLATTEN_LINKS = 291,
83     GECOS = 292,
84     GENERAL = 293,
85     GLINE = 294,
86     GLINE_DURATION = 295,
87     GLINE_ENABLE = 296,
88     GLINE_EXEMPT = 297,
89     GLINE_MIN_CIDR = 298,
90     GLINE_MIN_CIDR6 = 299,
91     GLINE_REQUEST_DURATION = 300,
92     GLOBAL_KILL = 301,
93     HAVENT_READ_CONF = 302,
94     HIDDEN = 303,
95     HIDDEN_NAME = 304,
96     HIDE_IDLE_FROM_OPERS = 305,
97     HIDE_SERVER_IPS = 306,
98     HIDE_SERVERS = 307,
99     HIDE_SERVICES = 308,
100     HIDE_SPOOF_IPS = 309,
101     HOST = 310,
102     HUB = 311,
103     HUB_MASK = 312,
104     IGNORE_BOGUS_TS = 313,
105     INVISIBLE_ON_CONNECT = 314,
106     IP = 315,
107     IRCD_AUTH = 316,
108     IRCD_FLAGS = 317,
109     IRCD_SID = 318,
110     JOIN_FLOOD_COUNT = 319,
111     JOIN_FLOOD_TIME = 320,
112     KILL = 321,
113     KILL_CHASE_TIME_LIMIT = 322,
114     KLINE = 323,
115     KLINE_EXEMPT = 324,
116     KNOCK_DELAY = 325,
117     KNOCK_DELAY_CHANNEL = 326,
118     LEAF_MASK = 327,
119     LINKS_DELAY = 328,
120     LISTEN = 329,
121     MASK = 330,
122     MAX_ACCEPT = 331,
123     MAX_BANS = 332,
124     MAX_CHANS_PER_OPER = 333,
125     MAX_CHANS_PER_USER = 334,
126     MAX_GLOBAL = 335,
127     MAX_IDENT = 336,
128     MAX_IDLE = 337,
129     MAX_LOCAL = 338,
130     MAX_NICK_CHANGES = 339,
131     MAX_NICK_LENGTH = 340,
132     MAX_NICK_TIME = 341,
133     MAX_NUMBER = 342,
134     MAX_TARGETS = 343,
135     MAX_TOPIC_LENGTH = 344,
136     MAX_WATCH = 345,
137     MIN_IDLE = 346,
138     MIN_NONWILDCARD = 347,
139     MIN_NONWILDCARD_SIMPLE = 348,
140 michael 1858 MODULE = 349,
141     MODULES = 350,
142 michael 2150 MOTD = 351,
143     NAME = 352,
144     NEED_IDENT = 353,
145     NEED_PASSWORD = 354,
146     NETWORK_DESC = 355,
147     NETWORK_NAME = 356,
148     NICK = 357,
149     NO_CREATE_ON_SPLIT = 358,
150     NO_JOIN_ON_SPLIT = 359,
151     NO_OPER_FLOOD = 360,
152     NO_TILDE = 361,
153     NUMBER = 362,
154     NUMBER_PER_CIDR = 363,
155     NUMBER_PER_IP = 364,
156     OPER_ONLY_UMODES = 365,
157     OPER_PASS_RESV = 366,
158     OPER_UMODES = 367,
159     OPERATOR = 368,
160     OPERS_BYPASS_CALLERID = 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     RANDOM_IDLE = 378,
170     REASON = 379,
171     REDIRPORT = 380,
172     REDIRSERV = 381,
173     REHASH = 382,
174     REMOTE = 383,
175     REMOTEBAN = 384,
176     RESV = 385,
177     RESV_EXEMPT = 386,
178     RSA_PRIVATE_KEY_FILE = 387,
179     RSA_PUBLIC_KEY_FILE = 388,
180     SECONDS = 389,
181     MINUTES = 390,
182     HOURS = 391,
183     DAYS = 392,
184     WEEKS = 393,
185     MONTHS = 394,
186     YEARS = 395,
187     SEND_PASSWORD = 396,
188     SENDQ = 397,
189     SERVERHIDE = 398,
190     SERVERINFO = 399,
191     SHORT_MOTD = 400,
192     SPOOF = 401,
193     SPOOF_NOTICE = 402,
194     SQUIT = 403,
195     SSL_CERTIFICATE_FILE = 404,
196     SSL_DH_PARAM_FILE = 405,
197     STATS_E_DISABLED = 406,
198     STATS_I_OPER_ONLY = 407,
199     STATS_K_OPER_ONLY = 408,
200     STATS_O_OPER_ONLY = 409,
201     STATS_P_OPER_ONLY = 410,
202     T_ALL = 411,
203     T_BOTS = 412,
204     T_CALLERID = 413,
205     T_CCONN = 414,
206     T_CCONN_FULL = 415,
207     T_CLUSTER = 416,
208     T_DEAF = 417,
209     T_DEBUG = 418,
210     T_DLINE = 419,
211     T_EXTERNAL = 420,
212     T_FARCONNECT = 421,
213     T_FILE = 422,
214     T_FULL = 423,
215     T_GLOBOPS = 424,
216     T_INVISIBLE = 425,
217     T_IPV4 = 426,
218     T_IPV6 = 427,
219     T_LOCOPS = 428,
220     T_LOG = 429,
221     T_MAX_CLIENTS = 430,
222     T_NCHANGE = 431,
223     T_NONONREG = 432,
224     T_OPERWALL = 433,
225     T_RECVQ = 434,
226     T_REJ = 435,
227     T_RESTART = 436,
228     T_SERVER = 437,
229     T_SERVICE = 438,
230     T_SERVICES_NAME = 439,
231     T_SERVNOTICE = 440,
232     T_SET = 441,
233     T_SHARED = 442,
234     T_SIZE = 443,
235     T_SKILL = 444,
236     T_SOFTCALLERID = 445,
237     T_SPY = 446,
238     T_SSL = 447,
239     T_SSL_CIPHER_LIST = 448,
240     T_SSL_CLIENT_METHOD = 449,
241     T_SSL_SERVER_METHOD = 450,
242     T_SSLV3 = 451,
243     T_TLSV1 = 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_WALLOP = 459,
251     T_WALLOPS = 460,
252     T_WEBIRC = 461,
253     TBOOL = 462,
254     THROTTLE_TIME = 463,
255     TKLINE_EXPIRE_NOTICES = 464,
256     TMASKED = 465,
257     TRUE_NO_OPER_FLOOD = 466,
258     TS_MAX_DELTA = 467,
259     TS_WARN_DELTA = 468,
260     TWODOTS = 469,
261     TYPE = 470,
262     UNKLINE = 471,
263     USE_EGD = 472,
264     USE_LOGGING = 473,
265     USER = 474,
266     VHOST = 475,
267     VHOST6 = 476,
268     WARN_NO_NLINE = 477,
269     XLINE = 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 michael 2129 #define FLATTEN_LINKS 291
307     #define GECOS 292
308     #define GENERAL 293
309     #define GLINE 294
310     #define GLINE_DURATION 295
311     #define GLINE_ENABLE 296
312     #define GLINE_EXEMPT 297
313     #define GLINE_MIN_CIDR 298
314     #define GLINE_MIN_CIDR6 299
315     #define GLINE_REQUEST_DURATION 300
316     #define GLOBAL_KILL 301
317     #define HAVENT_READ_CONF 302
318     #define HIDDEN 303
319     #define HIDDEN_NAME 304
320     #define HIDE_IDLE_FROM_OPERS 305
321     #define HIDE_SERVER_IPS 306
322     #define HIDE_SERVERS 307
323     #define HIDE_SERVICES 308
324     #define HIDE_SPOOF_IPS 309
325     #define HOST 310
326     #define HUB 311
327     #define HUB_MASK 312
328     #define IGNORE_BOGUS_TS 313
329     #define INVISIBLE_ON_CONNECT 314
330     #define IP 315
331     #define IRCD_AUTH 316
332     #define IRCD_FLAGS 317
333     #define IRCD_SID 318
334     #define JOIN_FLOOD_COUNT 319
335     #define JOIN_FLOOD_TIME 320
336     #define KILL 321
337     #define KILL_CHASE_TIME_LIMIT 322
338     #define KLINE 323
339     #define KLINE_EXEMPT 324
340     #define KNOCK_DELAY 325
341     #define KNOCK_DELAY_CHANNEL 326
342     #define LEAF_MASK 327
343     #define LINKS_DELAY 328
344     #define LISTEN 329
345     #define MASK 330
346     #define MAX_ACCEPT 331
347     #define MAX_BANS 332
348     #define MAX_CHANS_PER_OPER 333
349     #define MAX_CHANS_PER_USER 334
350     #define MAX_GLOBAL 335
351     #define MAX_IDENT 336
352     #define MAX_IDLE 337
353     #define MAX_LOCAL 338
354     #define MAX_NICK_CHANGES 339
355     #define MAX_NICK_LENGTH 340
356     #define MAX_NICK_TIME 341
357     #define MAX_NUMBER 342
358     #define MAX_TARGETS 343
359     #define MAX_TOPIC_LENGTH 344
360     #define MAX_WATCH 345
361     #define MIN_IDLE 346
362     #define MIN_NONWILDCARD 347
363     #define MIN_NONWILDCARD_SIMPLE 348
364 michael 1858 #define MODULE 349
365     #define MODULES 350
366 michael 2150 #define MOTD 351
367     #define NAME 352
368     #define NEED_IDENT 353
369     #define NEED_PASSWORD 354
370     #define NETWORK_DESC 355
371     #define NETWORK_NAME 356
372     #define NICK 357
373     #define NO_CREATE_ON_SPLIT 358
374     #define NO_JOIN_ON_SPLIT 359
375     #define NO_OPER_FLOOD 360
376     #define NO_TILDE 361
377     #define NUMBER 362
378     #define NUMBER_PER_CIDR 363
379     #define NUMBER_PER_IP 364
380     #define OPER_ONLY_UMODES 365
381     #define OPER_PASS_RESV 366
382     #define OPER_UMODES 367
383     #define OPERATOR 368
384     #define OPERS_BYPASS_CALLERID 369
385     #define PACE_WAIT 370
386     #define PACE_WAIT_SIMPLE 371
387     #define PASSWORD 372
388     #define PATH 373
389     #define PING_COOKIE 374
390     #define PING_TIME 375
391     #define PORT 376
392     #define QSTRING 377
393     #define RANDOM_IDLE 378
394     #define REASON 379
395     #define REDIRPORT 380
396     #define REDIRSERV 381
397     #define REHASH 382
398     #define REMOTE 383
399     #define REMOTEBAN 384
400     #define RESV 385
401     #define RESV_EXEMPT 386
402     #define RSA_PRIVATE_KEY_FILE 387
403     #define RSA_PUBLIC_KEY_FILE 388
404     #define SECONDS 389
405     #define MINUTES 390
406     #define HOURS 391
407     #define DAYS 392
408     #define WEEKS 393
409     #define MONTHS 394
410     #define YEARS 395
411     #define SEND_PASSWORD 396
412     #define SENDQ 397
413     #define SERVERHIDE 398
414     #define SERVERINFO 399
415     #define SHORT_MOTD 400
416     #define SPOOF 401
417     #define SPOOF_NOTICE 402
418     #define SQUIT 403
419     #define SSL_CERTIFICATE_FILE 404
420     #define SSL_DH_PARAM_FILE 405
421     #define STATS_E_DISABLED 406
422     #define STATS_I_OPER_ONLY 407
423     #define STATS_K_OPER_ONLY 408
424     #define STATS_O_OPER_ONLY 409
425     #define STATS_P_OPER_ONLY 410
426     #define T_ALL 411
427     #define T_BOTS 412
428     #define T_CALLERID 413
429     #define T_CCONN 414
430     #define T_CCONN_FULL 415
431     #define T_CLUSTER 416
432     #define T_DEAF 417
433     #define T_DEBUG 418
434     #define T_DLINE 419
435     #define T_EXTERNAL 420
436     #define T_FARCONNECT 421
437     #define T_FILE 422
438     #define T_FULL 423
439     #define T_GLOBOPS 424
440     #define T_INVISIBLE 425
441     #define T_IPV4 426
442     #define T_IPV6 427
443     #define T_LOCOPS 428
444     #define T_LOG 429
445     #define T_MAX_CLIENTS 430
446     #define T_NCHANGE 431
447     #define T_NONONREG 432
448     #define T_OPERWALL 433
449     #define T_RECVQ 434
450     #define T_REJ 435
451     #define T_RESTART 436
452     #define T_SERVER 437
453     #define T_SERVICE 438
454     #define T_SERVICES_NAME 439
455     #define T_SERVNOTICE 440
456     #define T_SET 441
457     #define T_SHARED 442
458     #define T_SIZE 443
459     #define T_SKILL 444
460     #define T_SOFTCALLERID 445
461     #define T_SPY 446
462     #define T_SSL 447
463     #define T_SSL_CIPHER_LIST 448
464     #define T_SSL_CLIENT_METHOD 449
465     #define T_SSL_SERVER_METHOD 450
466     #define T_SSLV3 451
467     #define T_TLSV1 452
468     #define T_UMODES 453
469     #define T_UNAUTH 454
470     #define T_UNDLINE 455
471     #define T_UNLIMITED 456
472     #define T_UNRESV 457
473     #define T_UNXLINE 458
474     #define T_WALLOP 459
475     #define T_WALLOPS 460
476     #define T_WEBIRC 461
477     #define TBOOL 462
478     #define THROTTLE_TIME 463
479     #define TKLINE_EXPIRE_NOTICES 464
480     #define TMASKED 465
481     #define TRUE_NO_OPER_FLOOD 466
482     #define TS_MAX_DELTA 467
483     #define TS_WARN_DELTA 468
484     #define TWODOTS 469
485     #define TYPE 470
486     #define UNKLINE 471
487     #define USE_EGD 472
488     #define USE_LOGGING 473
489     #define USER 474
490     #define VHOST 475
491     #define VHOST6 476
492     #define WARN_NO_NLINE 477
493     #define XLINE 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 2150 #line 139 "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 2150 #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