ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/trunk/src/conf_parser.h
Revision: 1294
Committed: Wed Feb 22 20:48:30 2012 UTC (13 years, 6 months ago) by michael
Content type: text/x-chdr
Original Path: ircd-hybrid-8/src/ircd_parser.h
File size: 13476 byte(s)
Log Message:
- Add user mode +H which simply hides operator status to other users.
  This solution replaces current method of hidding operator status where the
  admin mode is not sent to other servers unless hidden_administrator is disabled.
- m_who() now takes care whether an operator is hidden or not

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

Properties

Name Value
svn:eol-style native