1 /* A Bison parser, made by GNU Bison 3.0.2. */
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
60 T_Broadcastclient = 270,
61 T_Broadcastdelay = 271,
127 T_Manycastclient = 337,
128 T_Manycastserver = 338,
150 T_Multicastclient = 360,
165 T_NtpSignDsocket = 375,
188 T_Saveconfigdir = 398,
220 T_WanderThreshold = 430,
229 T_Sim_Duration = 439,
230 T_Server_Offset = 440,
244 #define T_Allpeers 262
246 #define T_Autokey 264
247 #define T_Automax 265
248 #define T_Average 266
249 #define T_Bclient 267
251 #define T_Broadcast 269
252 #define T_Broadcastclient 270
253 #define T_Broadcastdelay 271
255 #define T_Calibrate 273
256 #define T_Ceiling 274
257 #define T_Clockstats 275
259 #define T_ControlKey 277
261 #define T_Cryptostats 279
264 #define T_Default 282
266 #define T_Disable 284
267 #define T_Discard 285
268 #define T_Dispersion 286
270 #define T_Driftfile 288
272 #define T_Ellipsis 290
277 #define T_Filegen 295
278 #define T_Filenum 296
288 #define T_Huffpuff 306
292 #define T_Incalloc 310
294 #define T_Initalloc 312
295 #define T_Initmem 313
296 #define T_Includefile 314
297 #define T_Integer 315
298 #define T_Interface 316
299 #define T_Intrange 317
302 #define T_Ipv4_flag 320
304 #define T_Ipv6_flag 322
308 #define T_Keysdir 326
311 #define T_Leapfile 329
312 #define T_Limited 330
315 #define T_Logconfig 333
316 #define T_Logfile 334
317 #define T_Loopstats 335
318 #define T_Lowpriotrap 336
319 #define T_Manycastclient 337
320 #define T_Manycastserver 338
323 #define T_Maxclock 341
324 #define T_Maxdepth 342
325 #define T_Maxdist 343
327 #define T_Maxpoll 345
328 #define T_Mdnstries 346
330 #define T_Memlock 348
331 #define T_Minclock 349
332 #define T_Mindepth 350
333 #define T_Mindist 351
334 #define T_Minimum 352
335 #define T_Minpoll 353
336 #define T_Minsane 354
339 #define T_Monitor 357
342 #define T_Multicastclient 360
345 #define T_Nomodify 363
346 #define T_Nomrulist 364
348 #define T_Nonvolatile 366
350 #define T_Noquery 368
351 #define T_Noselect 369
352 #define T_Noserve 370
354 #define T_Notrust 372
356 #define T_Ntpport 374
357 #define T_NtpSignDsocket 375
359 #define T_Orphanwait 377
362 #define T_Peerstats 380
365 #define T_Pidfile 383
368 #define T_Preempt 386
370 #define T_Protostats 388
372 #define T_Randfile 390
373 #define T_Rawstats 391
375 #define T_Requestkey 393
377 #define T_Restrict 395
380 #define T_Saveconfigdir 398
384 #define T_Stacksize 402
385 #define T_Statistics 403
387 #define T_Statsdir 405
389 #define T_Stepback 407
390 #define T_Stepfwd 408
391 #define T_Stepout 409
392 #define T_Stratum 410
395 #define T_Sysstats 413
400 #define T_Timingstats 418
405 #define T_Trustedkey 423
409 #define T_Unconfig 427
411 #define T_Version 429
412 #define T_WanderThreshold 430
414 #define T_Wildcard 432
419 #define T_Simulate 437
420 #define T_Beep_Delay 438
421 #define T_Sim_Duration 439
422 #define T_Server_Offset 440
423 #define T_Duration 441
424 #define T_Freq_Offset 442
427 #define T_Prop_Delay 445
428 #define T_Proc_Delay 446
431 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
432 typedef union YYSTYPE YYSTYPE;
435 #line 54 "ntp_parser.y" /* yacc.c:1909 */
441 gen_fifo * Generic_fifo;
443 attr_val_fifo * Attr_val_fifo;
445 string_fifo * String_fifo;
446 address_node * Address_node;
447 address_fifo * Address_fifo;
448 setvar_node * Set_var;
449 server_info * Sim_server;
450 server_info_fifo * Sim_server_fifo;
451 script_info * Sim_script;
452 script_info_fifo * Sim_script_fifo;
454 #line 455 "ntp_parser.h" /* yacc.c:1909 */
456 # define YYSTYPE_IS_TRIVIAL 1
457 # define YYSTYPE_IS_DECLARED 1
461 extern YYSTYPE yylval;
463 int yyparse (struct FILE_INFO *ip_file);
465 #endif /* !YY_YY_NTP_PARSER_H_INCLUDED */