ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/trunk/src/conf_parser.h
Revision: 1316
Committed: Tue Mar 27 17:05:51 2012 UTC (13 years, 5 months ago) by michael
Content type: text/x-chdr
Original Path: ircd-hybrid-8/src/conf_parser.h
File size: 13358 byte(s)
Log Message:
- Removed 'ssl_server_protocol' configuration directive and
  added 'ssl_client_method' and 'ssl_server_method' instead.

  Both of these options can now be changed at runtime.

- src/Makefile.am: swapped order of conf_parser.y and conf_lexer.l
- Update example configuration files

File Contents

# Content
1 /* A Bison parser, made by GNU Bison 2.5. */
2
3 /* Bison interface for Yacc-like parsers in C
4
5 Copyright (C) 1984, 1989-1990, 2000-2011 Free Software Foundation, Inc.
6
7 This program is free software: you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation, either version 3 of the License, or
10 (at your option) any later version.
11
12 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
17 You should have received a copy of the GNU General Public License
18 along with this program. If not, see <http://www.gnu.org/licenses/>. */
19
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
30 This special exception was added by the Free Software Foundation in
31 version 2.2 of Bison. */
32
33
34 /* 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 CHANNEL = 276,
59 CIDR_BITLEN_IPV4 = 277,
60 CIDR_BITLEN_IPV6 = 278,
61 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 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 T_TIMESTAMP = 475,
258 THROTTLE_TIME = 476,
259 TOPICBURST = 477,
260 TRUE_NO_OPER_FLOOD = 478,
261 TKLINE = 479,
262 TXLINE = 480,
263 TRESV = 481,
264 UNKLINE = 482,
265 USER = 483,
266 USE_EGD = 484,
267 USE_EXCEPT = 485,
268 USE_INVEX = 486,
269 USE_KNOCK = 487,
270 USE_LOGGING = 488,
271 USE_WHOIS_ACTUALLY = 489,
272 VHOST = 490,
273 VHOST6 = 491,
274 XLINE = 492,
275 WARN = 493,
276 WARN_NO_NLINE = 494,
277 T_SIZE = 495,
278 T_FILE = 496
279 };
280 #endif
281 /* Tokens. */
282 #define ACCEPT_PASSWORD 258
283 #define ACTION 259
284 #define ADMIN 260
285 #define AFTYPE 261
286 #define T_ALLOW 262
287 #define ANTI_NICK_FLOOD 263
288 #define ANTI_SPAM_EXIT_MESSAGE_TIME 264
289 #define AUTOCONN 265
290 #define T_BLOCK 266
291 #define BURST_AWAY 267
292 #define BURST_TOPICWHO 268
293 #define BYTES 269
294 #define KBYTES 270
295 #define MBYTES 271
296 #define GBYTES 272
297 #define TBYTES 273
298 #define CALLER_ID_WAIT 274
299 #define CAN_FLOOD 275
300 #define CHANNEL 276
301 #define CIDR_BITLEN_IPV4 277
302 #define CIDR_BITLEN_IPV6 278
303 #define CLASS 279
304 #define CONNECT 280
305 #define CONNECTFREQ 281
306 #define DEFAULT_FLOODCOUNT 282
307 #define DEFAULT_SPLIT_SERVER_COUNT 283
308 #define DEFAULT_SPLIT_USER_COUNT 284
309 #define DENY 285
310 #define DESCRIPTION 286
311 #define DIE 287
312 #define DISABLE_AUTH 288
313 #define DISABLE_FAKE_CHANNELS 289
314 #define DISABLE_HIDDEN 290
315 #define DISABLE_LOCAL_CHANNELS 291
316 #define DISABLE_REMOTE_COMMANDS 292
317 #define DOTS_IN_IDENT 293
318 #define DURATION 294
319 #define EGDPOOL_PATH 295
320 #define EMAIL 296
321 #define ENABLE 297
322 #define ENCRYPTED 298
323 #define EXCEED_LIMIT 299
324 #define EXEMPT 300
325 #define FAILED_OPER_NOTICE 301
326 #define IRCD_FLAGS 302
327 #define FLATTEN_LINKS 303
328 #define GECOS 304
329 #define GENERAL 305
330 #define GLINE 306
331 #define GLINES 307
332 #define GLINE_EXEMPT 308
333 #define GLINE_TIME 309
334 #define GLINE_MIN_CIDR 310
335 #define GLINE_MIN_CIDR6 311
336 #define GLOBAL_KILL 312
337 #define IRCD_AUTH 313
338 #define NEED_IDENT 314
339 #define HAVENT_READ_CONF 315
340 #define HIDDEN 316
341 #define HIDDEN_NAME 317
342 #define HIDE_SERVER_IPS 318
343 #define HIDE_SERVERS 319
344 #define HIDE_SPOOF_IPS 320
345 #define HOST 321
346 #define HUB 322
347 #define HUB_MASK 323
348 #define IGNORE_BOGUS_TS 324
349 #define INVISIBLE_ON_CONNECT 325
350 #define IP 326
351 #define KILL 327
352 #define KILL_CHASE_TIME_LIMIT 328
353 #define KLINE 329
354 #define KLINE_EXEMPT 330
355 #define KLINE_REASON 331
356 #define KLINE_WITH_REASON 332
357 #define KNOCK_DELAY 333
358 #define KNOCK_DELAY_CHANNEL 334
359 #define LEAF_MASK 335
360 #define LINKS_DELAY 336
361 #define LISTEN 337
362 #define T_LOG 338
363 #define MAX_ACCEPT 339
364 #define MAX_BANS 340
365 #define MAX_CHANS_PER_USER 341
366 #define MAX_GLOBAL 342
367 #define MAX_IDENT 343
368 #define MAX_LOCAL 344
369 #define MAX_NICK_CHANGES 345
370 #define MAX_NICK_TIME 346
371 #define MAX_NUMBER 347
372 #define MAX_TARGETS 348
373 #define MAX_WATCH 349
374 #define MESSAGE_LOCALE 350
375 #define MIN_NONWILDCARD 351
376 #define MIN_NONWILDCARD_SIMPLE 352
377 #define MODULE 353
378 #define MODULES 354
379 #define NAME 355
380 #define NEED_PASSWORD 356
381 #define NETWORK_DESC 357
382 #define NETWORK_NAME 358
383 #define NICK 359
384 #define NICK_CHANGES 360
385 #define NO_CREATE_ON_SPLIT 361
386 #define NO_JOIN_ON_SPLIT 362
387 #define NO_OPER_FLOOD 363
388 #define NO_TILDE 364
389 #define NUMBER 365
390 #define NUMBER_PER_IDENT 366
391 #define NUMBER_PER_CIDR 367
392 #define NUMBER_PER_IP 368
393 #define NUMBER_PER_IP_GLOBAL 369
394 #define OPERATOR 370
395 #define OPERS_BYPASS_CALLERID 371
396 #define OPER_ONLY_UMODES 372
397 #define OPER_PASS_RESV 373
398 #define OPER_SPY_T 374
399 #define OPER_UMODES 375
400 #define JOIN_FLOOD_COUNT 376
401 #define JOIN_FLOOD_TIME 377
402 #define PACE_WAIT 378
403 #define PACE_WAIT_SIMPLE 379
404 #define PASSWORD 380
405 #define PATH 381
406 #define PING_COOKIE 382
407 #define PING_TIME 383
408 #define PING_WARNING 384
409 #define PORT 385
410 #define QSTRING 386
411 #define QUIET_ON_BAN 387
412 #define REASON 388
413 #define REDIRPORT 389
414 #define REDIRSERV 390
415 #define REGEX_T 391
416 #define REHASH 392
417 #define TREJECT_HOLD_TIME 393
418 #define REMOTE 394
419 #define REMOTEBAN 395
420 #define RESTRICT_CHANNELS 396
421 #define RESTRICTED 397
422 #define RSA_PRIVATE_KEY_FILE 398
423 #define RSA_PUBLIC_KEY_FILE 399
424 #define SSL_CERTIFICATE_FILE 400
425 #define SSL_DH_PARAM_FILE 401
426 #define T_SSL_CLIENT_METHOD 402
427 #define T_SSL_SERVER_METHOD 403
428 #define T_SSLV3 404
429 #define T_TLSV1 405
430 #define RESV 406
431 #define RESV_EXEMPT 407
432 #define SECONDS 408
433 #define MINUTES 409
434 #define HOURS 410
435 #define DAYS 411
436 #define WEEKS 412
437 #define SENDQ 413
438 #define SEND_PASSWORD 414
439 #define SERVERHIDE 415
440 #define SERVERINFO 416
441 #define IRCD_SID 417
442 #define TKLINE_EXPIRE_NOTICES 418
443 #define T_SHARED 419
444 #define T_CLUSTER 420
445 #define TYPE 421
446 #define SHORT_MOTD 422
447 #define SILENT 423
448 #define SPOOF 424
449 #define SPOOF_NOTICE 425
450 #define STATS_E_DISABLED 426
451 #define STATS_I_OPER_ONLY 427
452 #define STATS_K_OPER_ONLY 428
453 #define STATS_O_OPER_ONLY 429
454 #define STATS_P_OPER_ONLY 430
455 #define TBOOL 431
456 #define TMASKED 432
457 #define T_REJECT 433
458 #define TS_MAX_DELTA 434
459 #define TS_WARN_DELTA 435
460 #define TWODOTS 436
461 #define T_ALL 437
462 #define T_BOTS 438
463 #define T_SOFTCALLERID 439
464 #define T_CALLERID 440
465 #define T_CCONN 441
466 #define T_CCONN_FULL 442
467 #define T_SSL_CIPHER_LIST 443
468 #define T_CLIENT_FLOOD 444
469 #define T_DEAF 445
470 #define T_DEBUG 446
471 #define T_DLINE 447
472 #define T_DRONE 448
473 #define T_EXTERNAL 449
474 #define T_FULL 450
475 #define T_INVISIBLE 451
476 #define T_IPV4 452
477 #define T_IPV6 453
478 #define T_LOCOPS 454
479 #define T_MAX_CLIENTS 455
480 #define T_NCHANGE 456
481 #define T_OPERWALL 457
482 #define T_REJ 458
483 #define T_SERVER 459
484 #define T_SERVNOTICE 460
485 #define T_SKILL 461
486 #define T_SPY 462
487 #define T_SSL 463
488 #define T_UMODES 464
489 #define T_UNAUTH 465
490 #define T_UNDLINE 466
491 #define T_UNLIMITED 467
492 #define T_UNRESV 468
493 #define T_UNXLINE 469
494 #define T_GLOBOPS 470
495 #define T_WALLOP 471
496 #define T_RESTART 472
497 #define T_SERVICE 473
498 #define T_SERVICES_NAME 474
499 #define T_TIMESTAMP 475
500 #define THROTTLE_TIME 476
501 #define TOPICBURST 477
502 #define TRUE_NO_OPER_FLOOD 478
503 #define TKLINE 479
504 #define TXLINE 480
505 #define TRESV 481
506 #define UNKLINE 482
507 #define USER 483
508 #define USE_EGD 484
509 #define USE_EXCEPT 485
510 #define USE_INVEX 486
511 #define USE_KNOCK 487
512 #define USE_LOGGING 488
513 #define USE_WHOIS_ACTUALLY 489
514 #define VHOST 490
515 #define VHOST6 491
516 #define XLINE 492
517 #define WARN 493
518 #define WARN_NO_NLINE 494
519 #define T_SIZE 495
520 #define T_FILE 496
521
522
523
524
525 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
526 typedef union YYSTYPE
527 {
528
529 /* Line 2068 of yacc.c */
530 #line 133 "conf_parser.y"
531
532 int number;
533 char *string;
534
535
536
537 /* Line 2068 of yacc.c */
538 #line 539 "conf_parser.h"
539 } YYSTYPE;
540 # define YYSTYPE_IS_TRIVIAL 1
541 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
542 # define YYSTYPE_IS_DECLARED 1
543 #endif
544
545 extern YYSTYPE yylval;
546
547

Properties

Name Value
svn:eol-style native