ntp_parser.h revision 309007
1/* A Bison parser, made by GNU Bison 3.0.4. */ 2 3/* Bison interface for Yacc-like parsers in C 4 5 Copyright (C) 1984, 1989-1990, 2000-2015 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_Y_TAB_H_INCLUDED 34# define YY_YY_Y_TAB_H_INCLUDED 35/* Debug traces. */ 36#ifndef YYDEBUG 37# define YYDEBUG 1 38#endif 39#if YYDEBUG 40extern int yydebug; 41#endif 42 43/* Token type. */ 44#ifndef YYTOKENTYPE 45# define YYTOKENTYPE 46 enum yytokentype 47 { 48 T_Abbrev = 258, 49 T_Age = 259, 50 T_All = 260, 51 T_Allan = 261, 52 T_Allpeers = 262, 53 T_Auth = 263, 54 T_Autokey = 264, 55 T_Automax = 265, 56 T_Average = 266, 57 T_Bclient = 267, 58 T_Bcpollbstep = 268, 59 T_Beacon = 269, 60 T_Broadcast = 270, 61 T_Broadcastclient = 271, 62 T_Broadcastdelay = 272, 63 T_Burst = 273, 64 T_Calibrate = 274, 65 T_Ceiling = 275, 66 T_Clockstats = 276, 67 T_Cohort = 277, 68 T_ControlKey = 278, 69 T_Crypto = 279, 70 T_Cryptostats = 280, 71 T_Ctl = 281, 72 T_Day = 282, 73 T_Default = 283, 74 T_Digest = 284, 75 T_Disable = 285, 76 T_Discard = 286, 77 T_Dispersion = 287, 78 T_Double = 288, 79 T_Driftfile = 289, 80 T_Drop = 290, 81 T_Dscp = 291, 82 T_Ellipsis = 292, 83 T_Enable = 293, 84 T_End = 294, 85 T_False = 295, 86 T_File = 296, 87 T_Filegen = 297, 88 T_Filenum = 298, 89 T_Flag1 = 299, 90 T_Flag2 = 300, 91 T_Flag3 = 301, 92 T_Flag4 = 302, 93 T_Flake = 303, 94 T_Floor = 304, 95 T_Freq = 305, 96 T_Fudge = 306, 97 T_Host = 307, 98 T_Huffpuff = 308, 99 T_Iburst = 309, 100 T_Ident = 310, 101 T_Ignore = 311, 102 T_Incalloc = 312, 103 T_Incmem = 313, 104 T_Initalloc = 314, 105 T_Initmem = 315, 106 T_Includefile = 316, 107 T_Integer = 317, 108 T_Interface = 318, 109 T_Intrange = 319, 110 T_Io = 320, 111 T_Ipv4 = 321, 112 T_Ipv4_flag = 322, 113 T_Ipv6 = 323, 114 T_Ipv6_flag = 324, 115 T_Kernel = 325, 116 T_Key = 326, 117 T_Keys = 327, 118 T_Keysdir = 328, 119 T_Kod = 329, 120 T_Mssntp = 330, 121 T_Leapfile = 331, 122 T_Leapsmearinterval = 332, 123 T_Limited = 333, 124 T_Link = 334, 125 T_Listen = 335, 126 T_Logconfig = 336, 127 T_Logfile = 337, 128 T_Loopstats = 338, 129 T_Lowpriotrap = 339, 130 T_Manycastclient = 340, 131 T_Manycastserver = 341, 132 T_Mask = 342, 133 T_Maxage = 343, 134 T_Maxclock = 344, 135 T_Maxdepth = 345, 136 T_Maxdist = 346, 137 T_Maxmem = 347, 138 T_Maxpoll = 348, 139 T_Mdnstries = 349, 140 T_Mem = 350, 141 T_Memlock = 351, 142 T_Minclock = 352, 143 T_Mindepth = 353, 144 T_Mindist = 354, 145 T_Minimum = 355, 146 T_Minpoll = 356, 147 T_Minsane = 357, 148 T_Mode = 358, 149 T_Mode7 = 359, 150 T_Monitor = 360, 151 T_Month = 361, 152 T_Mru = 362, 153 T_Multicastclient = 363, 154 T_Nic = 364, 155 T_Nolink = 365, 156 T_Nomodify = 366, 157 T_Nomrulist = 367, 158 T_None = 368, 159 T_Nonvolatile = 369, 160 T_Nopeer = 370, 161 T_Noquery = 371, 162 T_Noselect = 372, 163 T_Noserve = 373, 164 T_Notrap = 374, 165 T_Notrust = 375, 166 T_Ntp = 376, 167 T_Ntpport = 377, 168 T_NtpSignDsocket = 378, 169 T_Orphan = 379, 170 T_Orphanwait = 380, 171 T_PCEdigest = 381, 172 T_Panic = 382, 173 T_Peer = 383, 174 T_Peerstats = 384, 175 T_Phone = 385, 176 T_Pid = 386, 177 T_Pidfile = 387, 178 T_Pool = 388, 179 T_Port = 389, 180 T_Preempt = 390, 181 T_Prefer = 391, 182 T_Protostats = 392, 183 T_Pw = 393, 184 T_Randfile = 394, 185 T_Rawstats = 395, 186 T_Refid = 396, 187 T_Requestkey = 397, 188 T_Reset = 398, 189 T_Restrict = 399, 190 T_Revoke = 400, 191 T_Rlimit = 401, 192 T_Saveconfigdir = 402, 193 T_Server = 403, 194 T_Setvar = 404, 195 T_Source = 405, 196 T_Stacksize = 406, 197 T_Statistics = 407, 198 T_Stats = 408, 199 T_Statsdir = 409, 200 T_Step = 410, 201 T_Stepback = 411, 202 T_Stepfwd = 412, 203 T_Stepout = 413, 204 T_Stratum = 414, 205 T_String = 415, 206 T_Sys = 416, 207 T_Sysstats = 417, 208 T_Tick = 418, 209 T_Time1 = 419, 210 T_Time2 = 420, 211 T_Timer = 421, 212 T_Timingstats = 422, 213 T_Tinker = 423, 214 T_Tos = 424, 215 T_Trap = 425, 216 T_True = 426, 217 T_Trustedkey = 427, 218 T_Ttl = 428, 219 T_Type = 429, 220 T_U_int = 430, 221 T_UEcrypto = 431, 222 T_UEcryptonak = 432, 223 T_UEdigest = 433, 224 T_Unconfig = 434, 225 T_Unpeer = 435, 226 T_Version = 436, 227 T_WanderThreshold = 437, 228 T_Week = 438, 229 T_Wildcard = 439, 230 T_Xleave = 440, 231 T_Year = 441, 232 T_Flag = 442, 233 T_EOC = 443, 234 T_Simulate = 444, 235 T_Beep_Delay = 445, 236 T_Sim_Duration = 446, 237 T_Server_Offset = 447, 238 T_Duration = 448, 239 T_Freq_Offset = 449, 240 T_Wander = 450, 241 T_Jitter = 451, 242 T_Prop_Delay = 452, 243 T_Proc_Delay = 453 244 }; 245#endif 246/* Tokens. */ 247#define T_Abbrev 258 248#define T_Age 259 249#define T_All 260 250#define T_Allan 261 251#define T_Allpeers 262 252#define T_Auth 263 253#define T_Autokey 264 254#define T_Automax 265 255#define T_Average 266 256#define T_Bclient 267 257#define T_Bcpollbstep 268 258#define T_Beacon 269 259#define T_Broadcast 270 260#define T_Broadcastclient 271 261#define T_Broadcastdelay 272 262#define T_Burst 273 263#define T_Calibrate 274 264#define T_Ceiling 275 265#define T_Clockstats 276 266#define T_Cohort 277 267#define T_ControlKey 278 268#define T_Crypto 279 269#define T_Cryptostats 280 270#define T_Ctl 281 271#define T_Day 282 272#define T_Default 283 273#define T_Digest 284 274#define T_Disable 285 275#define T_Discard 286 276#define T_Dispersion 287 277#define T_Double 288 278#define T_Driftfile 289 279#define T_Drop 290 280#define T_Dscp 291 281#define T_Ellipsis 292 282#define T_Enable 293 283#define T_End 294 284#define T_False 295 285#define T_File 296 286#define T_Filegen 297 287#define T_Filenum 298 288#define T_Flag1 299 289#define T_Flag2 300 290#define T_Flag3 301 291#define T_Flag4 302 292#define T_Flake 303 293#define T_Floor 304 294#define T_Freq 305 295#define T_Fudge 306 296#define T_Host 307 297#define T_Huffpuff 308 298#define T_Iburst 309 299#define T_Ident 310 300#define T_Ignore 311 301#define T_Incalloc 312 302#define T_Incmem 313 303#define T_Initalloc 314 304#define T_Initmem 315 305#define T_Includefile 316 306#define T_Integer 317 307#define T_Interface 318 308#define T_Intrange 319 309#define T_Io 320 310#define T_Ipv4 321 311#define T_Ipv4_flag 322 312#define T_Ipv6 323 313#define T_Ipv6_flag 324 314#define T_Kernel 325 315#define T_Key 326 316#define T_Keys 327 317#define T_Keysdir 328 318#define T_Kod 329 319#define T_Mssntp 330 320#define T_Leapfile 331 321#define T_Leapsmearinterval 332 322#define T_Limited 333 323#define T_Link 334 324#define T_Listen 335 325#define T_Logconfig 336 326#define T_Logfile 337 327#define T_Loopstats 338 328#define T_Lowpriotrap 339 329#define T_Manycastclient 340 330#define T_Manycastserver 341 331#define T_Mask 342 332#define T_Maxage 343 333#define T_Maxclock 344 334#define T_Maxdepth 345 335#define T_Maxdist 346 336#define T_Maxmem 347 337#define T_Maxpoll 348 338#define T_Mdnstries 349 339#define T_Mem 350 340#define T_Memlock 351 341#define T_Minclock 352 342#define T_Mindepth 353 343#define T_Mindist 354 344#define T_Minimum 355 345#define T_Minpoll 356 346#define T_Minsane 357 347#define T_Mode 358 348#define T_Mode7 359 349#define T_Monitor 360 350#define T_Month 361 351#define T_Mru 362 352#define T_Multicastclient 363 353#define T_Nic 364 354#define T_Nolink 365 355#define T_Nomodify 366 356#define T_Nomrulist 367 357#define T_None 368 358#define T_Nonvolatile 369 359#define T_Nopeer 370 360#define T_Noquery 371 361#define T_Noselect 372 362#define T_Noserve 373 363#define T_Notrap 374 364#define T_Notrust 375 365#define T_Ntp 376 366#define T_Ntpport 377 367#define T_NtpSignDsocket 378 368#define T_Orphan 379 369#define T_Orphanwait 380 370#define T_PCEdigest 381 371#define T_Panic 382 372#define T_Peer 383 373#define T_Peerstats 384 374#define T_Phone 385 375#define T_Pid 386 376#define T_Pidfile 387 377#define T_Pool 388 378#define T_Port 389 379#define T_Preempt 390 380#define T_Prefer 391 381#define T_Protostats 392 382#define T_Pw 393 383#define T_Randfile 394 384#define T_Rawstats 395 385#define T_Refid 396 386#define T_Requestkey 397 387#define T_Reset 398 388#define T_Restrict 399 389#define T_Revoke 400 390#define T_Rlimit 401 391#define T_Saveconfigdir 402 392#define T_Server 403 393#define T_Setvar 404 394#define T_Source 405 395#define T_Stacksize 406 396#define T_Statistics 407 397#define T_Stats 408 398#define T_Statsdir 409 399#define T_Step 410 400#define T_Stepback 411 401#define T_Stepfwd 412 402#define T_Stepout 413 403#define T_Stratum 414 404#define T_String 415 405#define T_Sys 416 406#define T_Sysstats 417 407#define T_Tick 418 408#define T_Time1 419 409#define T_Time2 420 410#define T_Timer 421 411#define T_Timingstats 422 412#define T_Tinker 423 413#define T_Tos 424 414#define T_Trap 425 415#define T_True 426 416#define T_Trustedkey 427 417#define T_Ttl 428 418#define T_Type 429 419#define T_U_int 430 420#define T_UEcrypto 431 421#define T_UEcryptonak 432 422#define T_UEdigest 433 423#define T_Unconfig 434 424#define T_Unpeer 435 425#define T_Version 436 426#define T_WanderThreshold 437 427#define T_Week 438 428#define T_Wildcard 439 429#define T_Xleave 440 430#define T_Year 441 431#define T_Flag 442 432#define T_EOC 443 433#define T_Simulate 444 434#define T_Beep_Delay 445 435#define T_Sim_Duration 446 436#define T_Server_Offset 447 437#define T_Duration 448 438#define T_Freq_Offset 449 439#define T_Wander 450 440#define T_Jitter 451 441#define T_Prop_Delay 452 442#define T_Proc_Delay 453 443 444/* Value type. */ 445#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED 446 447union YYSTYPE 448{ 449#line 51 "../../ntpd/ntp_parser.y" /* yacc.c:1909 */ 450 451 char * String; 452 double Double; 453 int Integer; 454 unsigned U_int; 455 gen_fifo * Generic_fifo; 456 attr_val * Attr_val; 457 attr_val_fifo * Attr_val_fifo; 458 int_fifo * Int_fifo; 459 string_fifo * String_fifo; 460 address_node * Address_node; 461 address_fifo * Address_fifo; 462 setvar_node * Set_var; 463 server_info * Sim_server; 464 server_info_fifo * Sim_server_fifo; 465 script_info * Sim_script; 466 script_info_fifo * Sim_script_fifo; 467 468#line 469 "ntp_parser.h" /* yacc.c:1909 */ 469}; 470 471typedef union YYSTYPE YYSTYPE; 472# define YYSTYPE_IS_TRIVIAL 1 473# define YYSTYPE_IS_DECLARED 1 474#endif 475 476 477extern YYSTYPE yylval; 478 479int yyparse (void); 480 481#endif /* !YY_YY_Y_TAB_H_INCLUDED */ 482