1 /* A Bison parser, made by GNU Bison 2.7.12-4996. */
3 /* Bison interface for Yacc-like parsers in C
5 Copyright (C) 1984, 1989-1990, 2000-2013 Free Software Foundation, Inc.
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.
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.
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/>. */
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.
30 This special exception was added by the Free Software Foundation in
31 version 2.2 of Bison. */
33 #ifndef YY_YY_NTP_PARSER_H_INCLUDED
34 # define YY_YY_NTP_PARSER_H_INCLUDED
35 /* Enabling traces. */
46 /* Put the tokens into the symbol table, so that GDB and other debuggers
61 T_Broadcastclient = 270,
62 T_Broadcastdelay = 271,
122 T_Leapsmearinterval = 331,
130 T_Manycastclient = 339,
131 T_Manycastserver = 340,
153 T_Multicastclient = 362,
168 T_NtpSignDsocket = 377,
191 T_Saveconfigdir = 400,
226 T_WanderThreshold = 435,
235 T_Sim_Duration = 444,
236 T_Server_Offset = 445,
250 #define T_Allpeers 262
252 #define T_Autokey 264
253 #define T_Automax 265
254 #define T_Average 266
255 #define T_Bclient 267
257 #define T_Broadcast 269
258 #define T_Broadcastclient 270
259 #define T_Broadcastdelay 271
261 #define T_Calibrate 273
262 #define T_Ceiling 274
263 #define T_Clockstats 275
265 #define T_ControlKey 277
267 #define T_Cryptostats 279
270 #define T_Default 282
272 #define T_Disable 284
273 #define T_Discard 285
274 #define T_Dispersion 286
276 #define T_Driftfile 288
279 #define T_Ellipsis 291
284 #define T_Filegen 296
285 #define T_Filenum 297
295 #define T_Huffpuff 307
299 #define T_Incalloc 311
301 #define T_Initalloc 313
302 #define T_Initmem 314
303 #define T_Includefile 315
304 #define T_Integer 316
305 #define T_Interface 317
306 #define T_Intrange 318
309 #define T_Ipv4_flag 321
311 #define T_Ipv6_flag 323
315 #define T_Keysdir 327
318 #define T_Leapfile 330
319 #define T_Leapsmearinterval 331
320 #define T_Limited 332
323 #define T_Logconfig 335
324 #define T_Logfile 336
325 #define T_Loopstats 337
326 #define T_Lowpriotrap 338
327 #define T_Manycastclient 339
328 #define T_Manycastserver 340
331 #define T_Maxclock 343
332 #define T_Maxdepth 344
333 #define T_Maxdist 345
335 #define T_Maxpoll 347
336 #define T_Mdnstries 348
338 #define T_Memlock 350
339 #define T_Minclock 351
340 #define T_Mindepth 352
341 #define T_Mindist 353
342 #define T_Minimum 354
343 #define T_Minpoll 355
344 #define T_Minsane 356
347 #define T_Monitor 359
350 #define T_Multicastclient 362
353 #define T_Nomodify 365
354 #define T_Nomrulist 366
356 #define T_Nonvolatile 368
358 #define T_Noquery 370
359 #define T_Noselect 371
360 #define T_Noserve 372
362 #define T_Notrust 374
364 #define T_Ntpport 376
365 #define T_NtpSignDsocket 377
367 #define T_Orphanwait 379
370 #define T_Peerstats 382
373 #define T_Pidfile 385
376 #define T_Preempt 388
378 #define T_Protostats 390
380 #define T_Randfile 392
381 #define T_Rawstats 393
383 #define T_Requestkey 395
385 #define T_Restrict 397
388 #define T_Saveconfigdir 400
392 #define T_Stacksize 404
393 #define T_Statistics 405
395 #define T_Statsdir 407
397 #define T_Stepback 409
398 #define T_Stepfwd 410
399 #define T_Stepout 411
400 #define T_Stratum 412
403 #define T_Sysstats 415
408 #define T_Timingstats 420
413 #define T_Trustedkey 425
417 #define T_UEcrypto 429
418 #define T_UEcryptonak 430
419 #define T_UEdigest 431
420 #define T_Unconfig 432
422 #define T_Version 434
423 #define T_WanderThreshold 435
425 #define T_Wildcard 437
430 #define T_Simulate 442
431 #define T_Beep_Delay 443
432 #define T_Sim_Duration 444
433 #define T_Server_Offset 445
434 #define T_Duration 446
435 #define T_Freq_Offset 447
438 #define T_Prop_Delay 450
439 #define T_Proc_Delay 451
443 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
444 typedef union YYSTYPE
446 /* Line 2053 of yacc.c */
447 #line 51 "../../ntpd/ntp_parser.y"
453 gen_fifo * Generic_fifo;
455 attr_val_fifo * Attr_val_fifo;
457 string_fifo * String_fifo;
458 address_node * Address_node;
459 address_fifo * Address_fifo;
460 setvar_node * Set_var;
461 server_info * Sim_server;
462 server_info_fifo * Sim_server_fifo;
463 script_info * Sim_script;
464 script_info_fifo * Sim_script_fifo;
467 /* Line 2053 of yacc.c */
468 #line 469 "ntp_parser.h"
470 # define YYSTYPE_IS_TRIVIAL 1
471 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
472 # define YYSTYPE_IS_DECLARED 1
475 extern YYSTYPE yylval;
478 #if defined __STDC__ || defined __cplusplus
479 int yyparse (void *YYPARSE_PARAM);
483 #else /* ! YYPARSE_PARAM */
484 #if defined __STDC__ || defined __cplusplus
489 #endif /* ! YYPARSE_PARAM */
491 #endif /* !YY_YY_NTP_PARSER_H_INCLUDED */