ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/trunk/src/conf_parser.h
Revision: 3933
Committed: Mon Jun 9 17:56:42 2014 UTC (12 years, 3 months ago) by michael
Content type: text/x-chdr
File size: 12829 byte(s)
Log Message:
- Added max_channels to class{} blocks

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

Properties

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