ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/trunk/src/conf_parser.h
Revision: 2129
Committed: Wed May 29 13:12:15 2013 UTC (12 years, 3 months ago) by michael
Content type: text/x-chdr
File size: 12986 byte(s)
Log Message:
- conf_parser.l, conf_parser.y: style corrections

File Contents

# Content
1 /* A Bison parser, made by GNU Bison 2.7.12-4996. */
2
3 /* Bison interface for Yacc-like parsers in C
4
5 Copyright (C) 1984, 1989-1990, 2000-2013 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 #ifndef YY_YY_CONF_PARSER_H_INCLUDED
34 # define YY_YY_CONF_PARSER_H_INCLUDED
35 /* Enabling traces. */
36 #ifndef YYDEBUG
37 # define YYDEBUG 0
38 #endif
39 #if YYDEBUG
40 extern int yydebug;
41 #endif
42
43 /* 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 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 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 MODULE = 349,
141 MODULES = 350,
142 NAME = 351,
143 NEED_IDENT = 352,
144 NEED_PASSWORD = 353,
145 NETWORK_DESC = 354,
146 NETWORK_NAME = 355,
147 NICK = 356,
148 NO_CREATE_ON_SPLIT = 357,
149 NO_JOIN_ON_SPLIT = 358,
150 NO_OPER_FLOOD = 359,
151 NO_TILDE = 360,
152 NUMBER = 361,
153 NUMBER_PER_CIDR = 362,
154 NUMBER_PER_IP = 363,
155 OPER_ONLY_UMODES = 364,
156 OPER_PASS_RESV = 365,
157 OPER_UMODES = 366,
158 OPERATOR = 367,
159 OPERS_BYPASS_CALLERID = 368,
160 PACE_WAIT = 369,
161 PACE_WAIT_SIMPLE = 370,
162 PASSWORD = 371,
163 PATH = 372,
164 PING_COOKIE = 373,
165 PING_TIME = 374,
166 PORT = 375,
167 QSTRING = 376,
168 RANDOM_IDLE = 377,
169 REASON = 378,
170 REDIRPORT = 379,
171 REDIRSERV = 380,
172 REHASH = 381,
173 REMOTE = 382,
174 REMOTEBAN = 383,
175 RESV = 384,
176 RESV_EXEMPT = 385,
177 RSA_PRIVATE_KEY_FILE = 386,
178 RSA_PUBLIC_KEY_FILE = 387,
179 SECONDS = 388,
180 MINUTES = 389,
181 HOURS = 390,
182 DAYS = 391,
183 WEEKS = 392,
184 MONTHS = 393,
185 YEARS = 394,
186 SEND_PASSWORD = 395,
187 SENDQ = 396,
188 SERVERHIDE = 397,
189 SERVERINFO = 398,
190 SHORT_MOTD = 399,
191 SPOOF = 400,
192 SPOOF_NOTICE = 401,
193 SQUIT = 402,
194 SSL_CERTIFICATE_FILE = 403,
195 SSL_DH_PARAM_FILE = 404,
196 STATS_E_DISABLED = 405,
197 STATS_I_OPER_ONLY = 406,
198 STATS_K_OPER_ONLY = 407,
199 STATS_O_OPER_ONLY = 408,
200 STATS_P_OPER_ONLY = 409,
201 T_ALL = 410,
202 T_BOTS = 411,
203 T_CALLERID = 412,
204 T_CCONN = 413,
205 T_CCONN_FULL = 414,
206 T_CLUSTER = 415,
207 T_DEAF = 416,
208 T_DEBUG = 417,
209 T_DLINE = 418,
210 T_EXTERNAL = 419,
211 T_FARCONNECT = 420,
212 T_FILE = 421,
213 T_FULL = 422,
214 T_GLOBOPS = 423,
215 T_INVISIBLE = 424,
216 T_IPV4 = 425,
217 T_IPV6 = 426,
218 T_LOCOPS = 427,
219 T_LOG = 428,
220 T_MAX_CLIENTS = 429,
221 T_NCHANGE = 430,
222 T_NONONREG = 431,
223 T_OPERWALL = 432,
224 T_RECVQ = 433,
225 T_REJ = 434,
226 T_RESTART = 435,
227 T_SERVER = 436,
228 T_SERVICE = 437,
229 T_SERVICES_NAME = 438,
230 T_SERVNOTICE = 439,
231 T_SET = 440,
232 T_SHARED = 441,
233 T_SIZE = 442,
234 T_SKILL = 443,
235 T_SOFTCALLERID = 444,
236 T_SPY = 445,
237 T_SSL = 446,
238 T_SSL_CIPHER_LIST = 447,
239 T_SSL_CLIENT_METHOD = 448,
240 T_SSL_SERVER_METHOD = 449,
241 T_SSLV3 = 450,
242 T_TLSV1 = 451,
243 T_UMODES = 452,
244 T_UNAUTH = 453,
245 T_UNDLINE = 454,
246 T_UNLIMITED = 455,
247 T_UNRESV = 456,
248 T_UNXLINE = 457,
249 T_WALLOP = 458,
250 T_WALLOPS = 459,
251 T_WEBIRC = 460,
252 TBOOL = 461,
253 THROTTLE_TIME = 462,
254 TKLINE_EXPIRE_NOTICES = 463,
255 TMASKED = 464,
256 TRUE_NO_OPER_FLOOD = 465,
257 TS_MAX_DELTA = 466,
258 TS_WARN_DELTA = 467,
259 TWODOTS = 468,
260 TYPE = 469,
261 UNKLINE = 470,
262 USE_EGD = 471,
263 USE_LOGGING = 472,
264 USER = 473,
265 VHOST = 474,
266 VHOST6 = 475,
267 WARN_NO_NLINE = 476,
268 XLINE = 477
269 };
270 #endif
271 /* Tokens. */
272 #define ACCEPT_PASSWORD 258
273 #define ADMIN 259
274 #define AFTYPE 260
275 #define ANTI_NICK_FLOOD 261
276 #define ANTI_SPAM_EXIT_MESSAGE_TIME 262
277 #define AUTOCONN 263
278 #define BYTES 264
279 #define KBYTES 265
280 #define MBYTES 266
281 #define CALLER_ID_WAIT 267
282 #define CAN_FLOOD 268
283 #define CHANNEL 269
284 #define CIDR_BITLEN_IPV4 270
285 #define CIDR_BITLEN_IPV6 271
286 #define CLASS 272
287 #define CONNECT 273
288 #define CONNECTFREQ 274
289 #define DEFAULT_FLOODCOUNT 275
290 #define DEFAULT_SPLIT_SERVER_COUNT 276
291 #define DEFAULT_SPLIT_USER_COUNT 277
292 #define DENY 278
293 #define DESCRIPTION 279
294 #define DIE 280
295 #define DISABLE_AUTH 281
296 #define DISABLE_FAKE_CHANNELS 282
297 #define DISABLE_REMOTE_COMMANDS 283
298 #define DOTS_IN_IDENT 284
299 #define EGDPOOL_PATH 285
300 #define EMAIL 286
301 #define ENCRYPTED 287
302 #define EXCEED_LIMIT 288
303 #define EXEMPT 289
304 #define FAILED_OPER_NOTICE 290
305 #define FLATTEN_LINKS 291
306 #define GECOS 292
307 #define GENERAL 293
308 #define GLINE 294
309 #define GLINE_DURATION 295
310 #define GLINE_ENABLE 296
311 #define GLINE_EXEMPT 297
312 #define GLINE_MIN_CIDR 298
313 #define GLINE_MIN_CIDR6 299
314 #define GLINE_REQUEST_DURATION 300
315 #define GLOBAL_KILL 301
316 #define HAVENT_READ_CONF 302
317 #define HIDDEN 303
318 #define HIDDEN_NAME 304
319 #define HIDE_IDLE_FROM_OPERS 305
320 #define HIDE_SERVER_IPS 306
321 #define HIDE_SERVERS 307
322 #define HIDE_SERVICES 308
323 #define HIDE_SPOOF_IPS 309
324 #define HOST 310
325 #define HUB 311
326 #define HUB_MASK 312
327 #define IGNORE_BOGUS_TS 313
328 #define INVISIBLE_ON_CONNECT 314
329 #define IP 315
330 #define IRCD_AUTH 316
331 #define IRCD_FLAGS 317
332 #define IRCD_SID 318
333 #define JOIN_FLOOD_COUNT 319
334 #define JOIN_FLOOD_TIME 320
335 #define KILL 321
336 #define KILL_CHASE_TIME_LIMIT 322
337 #define KLINE 323
338 #define KLINE_EXEMPT 324
339 #define KNOCK_DELAY 325
340 #define KNOCK_DELAY_CHANNEL 326
341 #define LEAF_MASK 327
342 #define LINKS_DELAY 328
343 #define LISTEN 329
344 #define MASK 330
345 #define MAX_ACCEPT 331
346 #define MAX_BANS 332
347 #define MAX_CHANS_PER_OPER 333
348 #define MAX_CHANS_PER_USER 334
349 #define MAX_GLOBAL 335
350 #define MAX_IDENT 336
351 #define MAX_IDLE 337
352 #define MAX_LOCAL 338
353 #define MAX_NICK_CHANGES 339
354 #define MAX_NICK_LENGTH 340
355 #define MAX_NICK_TIME 341
356 #define MAX_NUMBER 342
357 #define MAX_TARGETS 343
358 #define MAX_TOPIC_LENGTH 344
359 #define MAX_WATCH 345
360 #define MIN_IDLE 346
361 #define MIN_NONWILDCARD 347
362 #define MIN_NONWILDCARD_SIMPLE 348
363 #define MODULE 349
364 #define MODULES 350
365 #define NAME 351
366 #define NEED_IDENT 352
367 #define NEED_PASSWORD 353
368 #define NETWORK_DESC 354
369 #define NETWORK_NAME 355
370 #define NICK 356
371 #define NO_CREATE_ON_SPLIT 357
372 #define NO_JOIN_ON_SPLIT 358
373 #define NO_OPER_FLOOD 359
374 #define NO_TILDE 360
375 #define NUMBER 361
376 #define NUMBER_PER_CIDR 362
377 #define NUMBER_PER_IP 363
378 #define OPER_ONLY_UMODES 364
379 #define OPER_PASS_RESV 365
380 #define OPER_UMODES 366
381 #define OPERATOR 367
382 #define OPERS_BYPASS_CALLERID 368
383 #define PACE_WAIT 369
384 #define PACE_WAIT_SIMPLE 370
385 #define PASSWORD 371
386 #define PATH 372
387 #define PING_COOKIE 373
388 #define PING_TIME 374
389 #define PORT 375
390 #define QSTRING 376
391 #define RANDOM_IDLE 377
392 #define REASON 378
393 #define REDIRPORT 379
394 #define REDIRSERV 380
395 #define REHASH 381
396 #define REMOTE 382
397 #define REMOTEBAN 383
398 #define RESV 384
399 #define RESV_EXEMPT 385
400 #define RSA_PRIVATE_KEY_FILE 386
401 #define RSA_PUBLIC_KEY_FILE 387
402 #define SECONDS 388
403 #define MINUTES 389
404 #define HOURS 390
405 #define DAYS 391
406 #define WEEKS 392
407 #define MONTHS 393
408 #define YEARS 394
409 #define SEND_PASSWORD 395
410 #define SENDQ 396
411 #define SERVERHIDE 397
412 #define SERVERINFO 398
413 #define SHORT_MOTD 399
414 #define SPOOF 400
415 #define SPOOF_NOTICE 401
416 #define SQUIT 402
417 #define SSL_CERTIFICATE_FILE 403
418 #define SSL_DH_PARAM_FILE 404
419 #define STATS_E_DISABLED 405
420 #define STATS_I_OPER_ONLY 406
421 #define STATS_K_OPER_ONLY 407
422 #define STATS_O_OPER_ONLY 408
423 #define STATS_P_OPER_ONLY 409
424 #define T_ALL 410
425 #define T_BOTS 411
426 #define T_CALLERID 412
427 #define T_CCONN 413
428 #define T_CCONN_FULL 414
429 #define T_CLUSTER 415
430 #define T_DEAF 416
431 #define T_DEBUG 417
432 #define T_DLINE 418
433 #define T_EXTERNAL 419
434 #define T_FARCONNECT 420
435 #define T_FILE 421
436 #define T_FULL 422
437 #define T_GLOBOPS 423
438 #define T_INVISIBLE 424
439 #define T_IPV4 425
440 #define T_IPV6 426
441 #define T_LOCOPS 427
442 #define T_LOG 428
443 #define T_MAX_CLIENTS 429
444 #define T_NCHANGE 430
445 #define T_NONONREG 431
446 #define T_OPERWALL 432
447 #define T_RECVQ 433
448 #define T_REJ 434
449 #define T_RESTART 435
450 #define T_SERVER 436
451 #define T_SERVICE 437
452 #define T_SERVICES_NAME 438
453 #define T_SERVNOTICE 439
454 #define T_SET 440
455 #define T_SHARED 441
456 #define T_SIZE 442
457 #define T_SKILL 443
458 #define T_SOFTCALLERID 444
459 #define T_SPY 445
460 #define T_SSL 446
461 #define T_SSL_CIPHER_LIST 447
462 #define T_SSL_CLIENT_METHOD 448
463 #define T_SSL_SERVER_METHOD 449
464 #define T_SSLV3 450
465 #define T_TLSV1 451
466 #define T_UMODES 452
467 #define T_UNAUTH 453
468 #define T_UNDLINE 454
469 #define T_UNLIMITED 455
470 #define T_UNRESV 456
471 #define T_UNXLINE 457
472 #define T_WALLOP 458
473 #define T_WALLOPS 459
474 #define T_WEBIRC 460
475 #define TBOOL 461
476 #define THROTTLE_TIME 462
477 #define TKLINE_EXPIRE_NOTICES 463
478 #define TMASKED 464
479 #define TRUE_NO_OPER_FLOOD 465
480 #define TS_MAX_DELTA 466
481 #define TS_WARN_DELTA 467
482 #define TWODOTS 468
483 #define TYPE 469
484 #define UNKLINE 470
485 #define USE_EGD 471
486 #define USE_LOGGING 472
487 #define USER 473
488 #define VHOST 474
489 #define VHOST6 475
490 #define WARN_NO_NLINE 476
491 #define XLINE 477
492
493
494
495 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
496 typedef union YYSTYPE
497 {
498 /* Line 2053 of yacc.c */
499 #line 138 "conf_parser.y"
500
501 int number;
502 char *string;
503
504
505 /* Line 2053 of yacc.c */
506 #line 507 "conf_parser.h"
507 } YYSTYPE;
508 # define YYSTYPE_IS_TRIVIAL 1
509 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
510 # define YYSTYPE_IS_DECLARED 1
511 #endif
512
513 extern YYSTYPE yylval;
514
515 #ifdef YYPARSE_PARAM
516 #if defined __STDC__ || defined __cplusplus
517 int yyparse (void *YYPARSE_PARAM);
518 #else
519 int yyparse ();
520 #endif
521 #else /* ! YYPARSE_PARAM */
522 #if defined __STDC__ || defined __cplusplus
523 int yyparse (void);
524 #else
525 int yyparse ();
526 #endif
527 #endif /* ! YYPARSE_PARAM */
528
529 #endif /* !YY_YY_CONF_PARSER_H_INCLUDED */

Properties

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