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,
223 T_WanderThreshold = 432,
232 T_Sim_Duration = 441,
233 T_Server_Offset = 442,
247 #define T_Allpeers 262
249 #define T_Autokey 264
250 #define T_Automax 265
251 #define T_Average 266
252 #define T_Bclient 267
254 #define T_Broadcast 269
255 #define T_Broadcastclient 270
256 #define T_Broadcastdelay 271
258 #define T_Calibrate 273
259 #define T_Ceiling 274
260 #define T_Clockstats 275
262 #define T_ControlKey 277
264 #define T_Cryptostats 279
267 #define T_Default 282
269 #define T_Disable 284
270 #define T_Discard 285
271 #define T_Dispersion 286
273 #define T_Driftfile 288
276 #define T_Ellipsis 291
281 #define T_Filegen 296
282 #define T_Filenum 297
292 #define T_Huffpuff 307
296 #define T_Incalloc 311
298 #define T_Initalloc 313
299 #define T_Initmem 314
300 #define T_Includefile 315
301 #define T_Integer 316
302 #define T_Interface 317
303 #define T_Intrange 318
306 #define T_Ipv4_flag 321
308 #define T_Ipv6_flag 323
312 #define T_Keysdir 327
315 #define T_Leapfile 330
316 #define T_Leapsmearinterval 331
317 #define T_Limited 332
320 #define T_Logconfig 335
321 #define T_Logfile 336
322 #define T_Loopstats 337
323 #define T_Lowpriotrap 338
324 #define T_Manycastclient 339
325 #define T_Manycastserver 340
328 #define T_Maxclock 343
329 #define T_Maxdepth 344
330 #define T_Maxdist 345
332 #define T_Maxpoll 347
333 #define T_Mdnstries 348
335 #define T_Memlock 350
336 #define T_Minclock 351
337 #define T_Mindepth 352
338 #define T_Mindist 353
339 #define T_Minimum 354
340 #define T_Minpoll 355
341 #define T_Minsane 356
344 #define T_Monitor 359
347 #define T_Multicastclient 362
350 #define T_Nomodify 365
351 #define T_Nomrulist 366
353 #define T_Nonvolatile 368
355 #define T_Noquery 370
356 #define T_Noselect 371
357 #define T_Noserve 372
359 #define T_Notrust 374
361 #define T_Ntpport 376
362 #define T_NtpSignDsocket 377
364 #define T_Orphanwait 379
367 #define T_Peerstats 382
370 #define T_Pidfile 385
373 #define T_Preempt 388
375 #define T_Protostats 390
377 #define T_Randfile 392
378 #define T_Rawstats 393
380 #define T_Requestkey 395
382 #define T_Restrict 397
385 #define T_Saveconfigdir 400
389 #define T_Stacksize 404
390 #define T_Statistics 405
392 #define T_Statsdir 407
394 #define T_Stepback 409
395 #define T_Stepfwd 410
396 #define T_Stepout 411
397 #define T_Stratum 412
400 #define T_Sysstats 415
405 #define T_Timingstats 420
410 #define T_Trustedkey 425
414 #define T_Unconfig 429
416 #define T_Version 431
417 #define T_WanderThreshold 432
419 #define T_Wildcard 434
424 #define T_Simulate 439
425 #define T_Beep_Delay 440
426 #define T_Sim_Duration 441
427 #define T_Server_Offset 442
428 #define T_Duration 443
429 #define T_Freq_Offset 444
432 #define T_Prop_Delay 447
433 #define T_Proc_Delay 448
437 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
438 typedef union YYSTYPE
440 /* Line 2053 of yacc.c */
441 #line 51 "../../ntpd/ntp_parser.y"
447 gen_fifo * Generic_fifo;
449 attr_val_fifo * Attr_val_fifo;
451 string_fifo * String_fifo;
452 address_node * Address_node;
453 address_fifo * Address_fifo;
454 setvar_node * Set_var;
455 server_info * Sim_server;
456 server_info_fifo * Sim_server_fifo;
457 script_info * Sim_script;
458 script_info_fifo * Sim_script_fifo;
461 /* Line 2053 of yacc.c */
462 #line 463 "ntp_parser.h"
464 # define YYSTYPE_IS_TRIVIAL 1
465 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
466 # define YYSTYPE_IS_DECLARED 1
469 extern YYSTYPE yylval;
472 #if defined __STDC__ || defined __cplusplus
473 int yyparse (void *YYPARSE_PARAM);
477 #else /* ! YYPARSE_PARAM */
478 #if defined __STDC__ || defined __cplusplus
483 #endif /* ! YYPARSE_PARAM */
485 #endif /* !YY_YY_NTP_PARSER_H_INCLUDED */