ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/trunk/src/conf_parser.h
Revision: 1432
Committed: Sat Jun 9 19:40:08 2012 UTC (13 years, 2 months ago) by michael
Content type: text/x-chdr
Original Path: ircd-hybrid-8/src/conf_parser.h
File size: 13320 byte(s)
Log Message:
- Added channel::max_chans_per_oper configuration directive. The old way
  was to let ircops join three times the amount of max_chans_per_user.

  I'd rather would make this a class{} based limit, but this would require us
  to reprint the ISUPPORT buffer every time a client connects.

File Contents

# User Rev Content
1 michael 1425 /* A Bison parser, made by GNU Bison 2.5.1. */
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 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 michael 1401 BYTES = 268,
51     KBYTES = 269,
52     MBYTES = 270,
53     GBYTES = 271,
54     TBYTES = 272,
55     CALLER_ID_WAIT = 273,
56     CAN_FLOOD = 274,
57     CHANNEL = 275,
58     CIDR_BITLEN_IPV4 = 276,
59     CIDR_BITLEN_IPV6 = 277,
60     CLASS = 278,
61     CONNECT = 279,
62     CONNECTFREQ = 280,
63     DEFAULT_FLOODCOUNT = 281,
64     DEFAULT_SPLIT_SERVER_COUNT = 282,
65     DEFAULT_SPLIT_USER_COUNT = 283,
66     DENY = 284,
67     DESCRIPTION = 285,
68     DIE = 286,
69     DISABLE_AUTH = 287,
70     DISABLE_FAKE_CHANNELS = 288,
71     DISABLE_HIDDEN = 289,
72     DISABLE_LOCAL_CHANNELS = 290,
73     DISABLE_REMOTE_COMMANDS = 291,
74     DOTS_IN_IDENT = 292,
75     DURATION = 293,
76     EGDPOOL_PATH = 294,
77     EMAIL = 295,
78     ENABLE = 296,
79     ENCRYPTED = 297,
80     EXCEED_LIMIT = 298,
81     EXEMPT = 299,
82     FAILED_OPER_NOTICE = 300,
83     IRCD_FLAGS = 301,
84     FLATTEN_LINKS = 302,
85     GECOS = 303,
86     GENERAL = 304,
87     GLINE = 305,
88     GLINES = 306,
89     GLINE_EXEMPT = 307,
90     GLINE_TIME = 308,
91     GLINE_MIN_CIDR = 309,
92     GLINE_MIN_CIDR6 = 310,
93     GLOBAL_KILL = 311,
94     IRCD_AUTH = 312,
95     NEED_IDENT = 313,
96     HAVENT_READ_CONF = 314,
97     HIDDEN = 315,
98     HIDDEN_NAME = 316,
99     HIDE_SERVER_IPS = 317,
100     HIDE_SERVERS = 318,
101     HIDE_SPOOF_IPS = 319,
102     HOST = 320,
103     HUB = 321,
104     HUB_MASK = 322,
105     IGNORE_BOGUS_TS = 323,
106     INVISIBLE_ON_CONNECT = 324,
107     IP = 325,
108     KILL = 326,
109     KILL_CHASE_TIME_LIMIT = 327,
110     KLINE = 328,
111     KLINE_EXEMPT = 329,
112     KLINE_REASON = 330,
113     KLINE_WITH_REASON = 331,
114     KNOCK_DELAY = 332,
115     KNOCK_DELAY_CHANNEL = 333,
116     LEAF_MASK = 334,
117     LINKS_DELAY = 335,
118     LISTEN = 336,
119     T_LOG = 337,
120     MAX_ACCEPT = 338,
121     MAX_BANS = 339,
122 michael 1432 MAX_CHANS_PER_OPER = 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     SSL_DH_PARAM_FILE = 401,
184     T_SSL_CLIENT_METHOD = 402,
185     T_SSL_SERVER_METHOD = 403,
186     T_SSLV3 = 404,
187     T_TLSV1 = 405,
188     RESV = 406,
189     RESV_EXEMPT = 407,
190     SECONDS = 408,
191     MINUTES = 409,
192     HOURS = 410,
193     DAYS = 411,
194     WEEKS = 412,
195     SENDQ = 413,
196     SEND_PASSWORD = 414,
197     SERVERHIDE = 415,
198     SERVERINFO = 416,
199     IRCD_SID = 417,
200     TKLINE_EXPIRE_NOTICES = 418,
201     T_SHARED = 419,
202     T_CLUSTER = 420,
203     TYPE = 421,
204     SHORT_MOTD = 422,
205     SILENT = 423,
206     SPOOF = 424,
207     SPOOF_NOTICE = 425,
208     STATS_E_DISABLED = 426,
209     STATS_I_OPER_ONLY = 427,
210     STATS_K_OPER_ONLY = 428,
211     STATS_O_OPER_ONLY = 429,
212     STATS_P_OPER_ONLY = 430,
213     TBOOL = 431,
214     TMASKED = 432,
215     T_REJECT = 433,
216     TS_MAX_DELTA = 434,
217     TS_WARN_DELTA = 435,
218     TWODOTS = 436,
219     T_ALL = 437,
220     T_BOTS = 438,
221     T_SOFTCALLERID = 439,
222     T_CALLERID = 440,
223     T_CCONN = 441,
224     T_CCONN_FULL = 442,
225     T_SSL_CIPHER_LIST = 443,
226     T_CLIENT_FLOOD = 444,
227     T_DEAF = 445,
228     T_DEBUG = 446,
229     T_DLINE = 447,
230     T_DRONE = 448,
231     T_EXTERNAL = 449,
232     T_FULL = 450,
233     T_INVISIBLE = 451,
234     T_IPV4 = 452,
235     T_IPV6 = 453,
236     T_LOCOPS = 454,
237     T_MAX_CLIENTS = 455,
238     T_NCHANGE = 456,
239     T_OPERWALL = 457,
240     T_REJ = 458,
241     T_SERVER = 459,
242     T_SERVNOTICE = 460,
243     T_SKILL = 461,
244     T_SPY = 462,
245     T_SSL = 463,
246     T_UMODES = 464,
247     T_UNAUTH = 465,
248     T_UNDLINE = 466,
249     T_UNLIMITED = 467,
250     T_UNRESV = 468,
251     T_UNXLINE = 469,
252     T_GLOBOPS = 470,
253     T_WALLOP = 471,
254     T_RESTART = 472,
255     T_SERVICE = 473,
256     T_SERVICES_NAME = 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 michael 1401 #define BYTES 268
292     #define KBYTES 269
293     #define MBYTES 270
294     #define GBYTES 271
295     #define TBYTES 272
296     #define CALLER_ID_WAIT 273
297     #define CAN_FLOOD 274
298     #define CHANNEL 275
299     #define CIDR_BITLEN_IPV4 276
300     #define CIDR_BITLEN_IPV6 277
301     #define CLASS 278
302     #define CONNECT 279
303     #define CONNECTFREQ 280
304     #define DEFAULT_FLOODCOUNT 281
305     #define DEFAULT_SPLIT_SERVER_COUNT 282
306     #define DEFAULT_SPLIT_USER_COUNT 283
307     #define DENY 284
308     #define DESCRIPTION 285
309     #define DIE 286
310     #define DISABLE_AUTH 287
311     #define DISABLE_FAKE_CHANNELS 288
312     #define DISABLE_HIDDEN 289
313     #define DISABLE_LOCAL_CHANNELS 290
314     #define DISABLE_REMOTE_COMMANDS 291
315     #define DOTS_IN_IDENT 292
316     #define DURATION 293
317     #define EGDPOOL_PATH 294
318     #define EMAIL 295
319     #define ENABLE 296
320     #define ENCRYPTED 297
321     #define EXCEED_LIMIT 298
322     #define EXEMPT 299
323     #define FAILED_OPER_NOTICE 300
324     #define IRCD_FLAGS 301
325     #define FLATTEN_LINKS 302
326     #define GECOS 303
327     #define GENERAL 304
328     #define GLINE 305
329     #define GLINES 306
330     #define GLINE_EXEMPT 307
331     #define GLINE_TIME 308
332     #define GLINE_MIN_CIDR 309
333     #define GLINE_MIN_CIDR6 310
334     #define GLOBAL_KILL 311
335     #define IRCD_AUTH 312
336     #define NEED_IDENT 313
337     #define HAVENT_READ_CONF 314
338     #define HIDDEN 315
339     #define HIDDEN_NAME 316
340     #define HIDE_SERVER_IPS 317
341     #define HIDE_SERVERS 318
342     #define HIDE_SPOOF_IPS 319
343     #define HOST 320
344     #define HUB 321
345     #define HUB_MASK 322
346     #define IGNORE_BOGUS_TS 323
347     #define INVISIBLE_ON_CONNECT 324
348     #define IP 325
349     #define KILL 326
350     #define KILL_CHASE_TIME_LIMIT 327
351     #define KLINE 328
352     #define KLINE_EXEMPT 329
353     #define KLINE_REASON 330
354     #define KLINE_WITH_REASON 331
355     #define KNOCK_DELAY 332
356     #define KNOCK_DELAY_CHANNEL 333
357     #define LEAF_MASK 334
358     #define LINKS_DELAY 335
359     #define LISTEN 336
360     #define T_LOG 337
361     #define MAX_ACCEPT 338
362     #define MAX_BANS 339
363 michael 1432 #define MAX_CHANS_PER_OPER 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     #define SSL_DH_PARAM_FILE 401
425     #define T_SSL_CLIENT_METHOD 402
426     #define T_SSL_SERVER_METHOD 403
427     #define T_SSLV3 404
428     #define T_TLSV1 405
429     #define RESV 406
430     #define RESV_EXEMPT 407
431     #define SECONDS 408
432     #define MINUTES 409
433     #define HOURS 410
434     #define DAYS 411
435     #define WEEKS 412
436     #define SENDQ 413
437     #define SEND_PASSWORD 414
438     #define SERVERHIDE 415
439     #define SERVERINFO 416
440     #define IRCD_SID 417
441     #define TKLINE_EXPIRE_NOTICES 418
442     #define T_SHARED 419
443     #define T_CLUSTER 420
444     #define TYPE 421
445     #define SHORT_MOTD 422
446     #define SILENT 423
447     #define SPOOF 424
448     #define SPOOF_NOTICE 425
449     #define STATS_E_DISABLED 426
450     #define STATS_I_OPER_ONLY 427
451     #define STATS_K_OPER_ONLY 428
452     #define STATS_O_OPER_ONLY 429
453     #define STATS_P_OPER_ONLY 430
454     #define TBOOL 431
455     #define TMASKED 432
456     #define T_REJECT 433
457     #define TS_MAX_DELTA 434
458     #define TS_WARN_DELTA 435
459     #define TWODOTS 436
460     #define T_ALL 437
461     #define T_BOTS 438
462     #define T_SOFTCALLERID 439
463     #define T_CALLERID 440
464     #define T_CCONN 441
465     #define T_CCONN_FULL 442
466     #define T_SSL_CIPHER_LIST 443
467     #define T_CLIENT_FLOOD 444
468     #define T_DEAF 445
469     #define T_DEBUG 446
470     #define T_DLINE 447
471     #define T_DRONE 448
472     #define T_EXTERNAL 449
473     #define T_FULL 450
474     #define T_INVISIBLE 451
475     #define T_IPV4 452
476     #define T_IPV6 453
477     #define T_LOCOPS 454
478     #define T_MAX_CLIENTS 455
479     #define T_NCHANGE 456
480     #define T_OPERWALL 457
481     #define T_REJ 458
482     #define T_SERVER 459
483     #define T_SERVNOTICE 460
484     #define T_SKILL 461
485     #define T_SPY 462
486     #define T_SSL 463
487     #define T_UMODES 464
488     #define T_UNAUTH 465
489     #define T_UNDLINE 466
490     #define T_UNLIMITED 467
491     #define T_UNRESV 468
492     #define T_UNXLINE 469
493     #define T_GLOBOPS 470
494     #define T_WALLOP 471
495     #define T_RESTART 472
496     #define T_SERVICE 473
497     #define T_SERVICES_NAME 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 1425 /* Line 2072 of yacc.c */
528 michael 1383 #line 110 "conf_parser.y"
529 michael 967
530 michael 913 int number;
531     char *string;
532 michael 967
533    
534    
535 michael 1425 /* Line 2072 of yacc.c */
536 michael 1432 #line 537 "conf_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