Sync usage with man page.
[netbsd-mini2440.git] / external / bsd / ntp / dist / ntpd / ntp_parser.h
blobf77d4c73520188545fb409cbf69777bf6f83c295
1 /* $NetBSD$ */
4 /* A Bison parser, made by GNU Bison 2.4.1. */
6 /* Skeleton interface for Bison's Yacc-like parsers in C
8 Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
9 Free Software Foundation, Inc.
11 This program is free software: you can redistribute it and/or modify
12 it under the terms of the GNU General Public License as published by
13 the Free Software Foundation, either version 3 of the License, or
14 (at your option) any later version.
16 This program is distributed in the hope that it will be useful,
17 but WITHOUT ANY WARRANTY; without even the implied warranty of
18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 GNU General Public License for more details.
21 You should have received a copy of the GNU General Public License
22 along with this program. If not, see <http://www.gnu.org/licenses/>. */
24 /* As a special exception, you may create a larger work that contains
25 part or all of the Bison parser skeleton and distribute that work
26 under terms of your choice, so long as that work isn't itself a
27 parser generator using the skeleton or a modified version thereof
28 as a parser skeleton. Alternatively, if you modify or redistribute
29 the parser skeleton itself, you may (at your option) remove this
30 special exception, which will cause the skeleton and the resulting
31 Bison output files to be licensed under the GNU General Public
32 License without this special exception.
34 This special exception was added by the Free Software Foundation in
35 version 2.2 of Bison. */
38 /* Tokens. */
39 #ifndef YYTOKENTYPE
40 # define YYTOKENTYPE
41 /* Put the tokens into the symbol table, so that GDB and other debuggers
42 know about them. */
43 enum yytokentype {
44 T_Age = 258,
45 T_All = 259,
46 T_Allan = 260,
47 T_Auth = 261,
48 T_Autokey = 262,
49 T_Automax = 263,
50 T_Average = 264,
51 T_Bclient = 265,
52 T_Beacon = 266,
53 T_Bias = 267,
54 T_Broadcast = 268,
55 T_Broadcastclient = 269,
56 T_Broadcastdelay = 270,
57 T_Burst = 271,
58 T_Calibrate = 272,
59 T_Calldelay = 273,
60 T_Ceiling = 274,
61 T_Clockstats = 275,
62 T_Cohort = 276,
63 T_ControlKey = 277,
64 T_Crypto = 278,
65 T_Cryptostats = 279,
66 T_Day = 280,
67 T_Default = 281,
68 T_Digest = 282,
69 T_Disable = 283,
70 T_Discard = 284,
71 T_Dispersion = 285,
72 T_Double = 286,
73 T_Driftfile = 287,
74 T_Drop = 288,
75 T_Enable = 289,
76 T_End = 290,
77 T_False = 291,
78 T_File = 292,
79 T_Filegen = 293,
80 T_Flag1 = 294,
81 T_Flag2 = 295,
82 T_Flag3 = 296,
83 T_Flag4 = 297,
84 T_Flake = 298,
85 T_Floor = 299,
86 T_Freq = 300,
87 T_Fudge = 301,
88 T_Host = 302,
89 T_Huffpuff = 303,
90 T_Iburst = 304,
91 T_Ident = 305,
92 T_Ignore = 306,
93 T_Includefile = 307,
94 T_Integer = 308,
95 T_Interface = 309,
96 T_Ipv4 = 310,
97 T_Ipv4_flag = 311,
98 T_Ipv6 = 312,
99 T_Ipv6_flag = 313,
100 T_Kernel = 314,
101 T_Key = 315,
102 T_Keys = 316,
103 T_Keysdir = 317,
104 T_Kod = 318,
105 T_Mssntp = 319,
106 T_Leapfile = 320,
107 T_Limited = 321,
108 T_Link = 322,
109 T_Listen = 323,
110 T_Logconfig = 324,
111 T_Logfile = 325,
112 T_Loopstats = 326,
113 T_Lowpriotrap = 327,
114 T_Manycastclient = 328,
115 T_Manycastserver = 329,
116 T_Mask = 330,
117 T_Maxclock = 331,
118 T_Maxdist = 332,
119 T_Maxpoll = 333,
120 T_Minclock = 334,
121 T_Mindist = 335,
122 T_Minimum = 336,
123 T_Minpoll = 337,
124 T_Minsane = 338,
125 T_Mode = 339,
126 T_Monitor = 340,
127 T_Month = 341,
128 T_Multicastclient = 342,
129 T_Nic = 343,
130 T_Nolink = 344,
131 T_Nomodify = 345,
132 T_None = 346,
133 T_Nopeer = 347,
134 T_Noquery = 348,
135 T_Noselect = 349,
136 T_Noserve = 350,
137 T_Notrap = 351,
138 T_Notrust = 352,
139 T_Ntp = 353,
140 T_Ntpport = 354,
141 T_NtpSignDsocket = 355,
142 T_Orphan = 356,
143 T_Panic = 357,
144 T_Peer = 358,
145 T_Peerstats = 359,
146 T_Phone = 360,
147 T_Pid = 361,
148 T_Pidfile = 362,
149 T_Pool = 363,
150 T_Port = 364,
151 T_Preempt = 365,
152 T_Prefer = 366,
153 T_Protostats = 367,
154 T_Pw = 368,
155 T_Qos = 369,
156 T_Randfile = 370,
157 T_Rawstats = 371,
158 T_Refid = 372,
159 T_Requestkey = 373,
160 T_Restrict = 374,
161 T_Revoke = 375,
162 T_Saveconfigdir = 376,
163 T_Server = 377,
164 T_Setvar = 378,
165 T_Sign = 379,
166 T_Statistics = 380,
167 T_Stats = 381,
168 T_Statsdir = 382,
169 T_Step = 383,
170 T_Stepout = 384,
171 T_Stratum = 385,
172 T_String = 386,
173 T_Sysstats = 387,
174 T_Tick = 388,
175 T_Time1 = 389,
176 T_Time2 = 390,
177 T_Timingstats = 391,
178 T_Tinker = 392,
179 T_Tos = 393,
180 T_Trap = 394,
181 T_True = 395,
182 T_Trustedkey = 396,
183 T_Ttl = 397,
184 T_Type = 398,
185 T_Unconfig = 399,
186 T_Unpeer = 400,
187 T_Version = 401,
188 T_WanderThreshold = 402,
189 T_Week = 403,
190 T_Wildcard = 404,
191 T_Xleave = 405,
192 T_Year = 406,
193 T_Flag = 407,
194 T_Void = 408,
195 T_EOC = 409,
196 T_Simulate = 410,
197 T_Beep_Delay = 411,
198 T_Sim_Duration = 412,
199 T_Server_Offset = 413,
200 T_Duration = 414,
201 T_Freq_Offset = 415,
202 T_Wander = 416,
203 T_Jitter = 417,
204 T_Prop_Delay = 418,
205 T_Proc_Delay = 419
207 #endif
208 /* Tokens. */
209 #define T_Age 258
210 #define T_All 259
211 #define T_Allan 260
212 #define T_Auth 261
213 #define T_Autokey 262
214 #define T_Automax 263
215 #define T_Average 264
216 #define T_Bclient 265
217 #define T_Beacon 266
218 #define T_Bias 267
219 #define T_Broadcast 268
220 #define T_Broadcastclient 269
221 #define T_Broadcastdelay 270
222 #define T_Burst 271
223 #define T_Calibrate 272
224 #define T_Calldelay 273
225 #define T_Ceiling 274
226 #define T_Clockstats 275
227 #define T_Cohort 276
228 #define T_ControlKey 277
229 #define T_Crypto 278
230 #define T_Cryptostats 279
231 #define T_Day 280
232 #define T_Default 281
233 #define T_Digest 282
234 #define T_Disable 283
235 #define T_Discard 284
236 #define T_Dispersion 285
237 #define T_Double 286
238 #define T_Driftfile 287
239 #define T_Drop 288
240 #define T_Enable 289
241 #define T_End 290
242 #define T_False 291
243 #define T_File 292
244 #define T_Filegen 293
245 #define T_Flag1 294
246 #define T_Flag2 295
247 #define T_Flag3 296
248 #define T_Flag4 297
249 #define T_Flake 298
250 #define T_Floor 299
251 #define T_Freq 300
252 #define T_Fudge 301
253 #define T_Host 302
254 #define T_Huffpuff 303
255 #define T_Iburst 304
256 #define T_Ident 305
257 #define T_Ignore 306
258 #define T_Includefile 307
259 #define T_Integer 308
260 #define T_Interface 309
261 #define T_Ipv4 310
262 #define T_Ipv4_flag 311
263 #define T_Ipv6 312
264 #define T_Ipv6_flag 313
265 #define T_Kernel 314
266 #define T_Key 315
267 #define T_Keys 316
268 #define T_Keysdir 317
269 #define T_Kod 318
270 #define T_Mssntp 319
271 #define T_Leapfile 320
272 #define T_Limited 321
273 #define T_Link 322
274 #define T_Listen 323
275 #define T_Logconfig 324
276 #define T_Logfile 325
277 #define T_Loopstats 326
278 #define T_Lowpriotrap 327
279 #define T_Manycastclient 328
280 #define T_Manycastserver 329
281 #define T_Mask 330
282 #define T_Maxclock 331
283 #define T_Maxdist 332
284 #define T_Maxpoll 333
285 #define T_Minclock 334
286 #define T_Mindist 335
287 #define T_Minimum 336
288 #define T_Minpoll 337
289 #define T_Minsane 338
290 #define T_Mode 339
291 #define T_Monitor 340
292 #define T_Month 341
293 #define T_Multicastclient 342
294 #define T_Nic 343
295 #define T_Nolink 344
296 #define T_Nomodify 345
297 #define T_None 346
298 #define T_Nopeer 347
299 #define T_Noquery 348
300 #define T_Noselect 349
301 #define T_Noserve 350
302 #define T_Notrap 351
303 #define T_Notrust 352
304 #define T_Ntp 353
305 #define T_Ntpport 354
306 #define T_NtpSignDsocket 355
307 #define T_Orphan 356
308 #define T_Panic 357
309 #define T_Peer 358
310 #define T_Peerstats 359
311 #define T_Phone 360
312 #define T_Pid 361
313 #define T_Pidfile 362
314 #define T_Pool 363
315 #define T_Port 364
316 #define T_Preempt 365
317 #define T_Prefer 366
318 #define T_Protostats 367
319 #define T_Pw 368
320 #define T_Qos 369
321 #define T_Randfile 370
322 #define T_Rawstats 371
323 #define T_Refid 372
324 #define T_Requestkey 373
325 #define T_Restrict 374
326 #define T_Revoke 375
327 #define T_Saveconfigdir 376
328 #define T_Server 377
329 #define T_Setvar 378
330 #define T_Sign 379
331 #define T_Statistics 380
332 #define T_Stats 381
333 #define T_Statsdir 382
334 #define T_Step 383
335 #define T_Stepout 384
336 #define T_Stratum 385
337 #define T_String 386
338 #define T_Sysstats 387
339 #define T_Tick 388
340 #define T_Time1 389
341 #define T_Time2 390
342 #define T_Timingstats 391
343 #define T_Tinker 392
344 #define T_Tos 393
345 #define T_Trap 394
346 #define T_True 395
347 #define T_Trustedkey 396
348 #define T_Ttl 397
349 #define T_Type 398
350 #define T_Unconfig 399
351 #define T_Unpeer 400
352 #define T_Version 401
353 #define T_WanderThreshold 402
354 #define T_Week 403
355 #define T_Wildcard 404
356 #define T_Xleave 405
357 #define T_Year 406
358 #define T_Flag 407
359 #define T_Void 408
360 #define T_EOC 409
361 #define T_Simulate 410
362 #define T_Beep_Delay 411
363 #define T_Sim_Duration 412
364 #define T_Server_Offset 413
365 #define T_Duration 414
366 #define T_Freq_Offset 415
367 #define T_Wander 416
368 #define T_Jitter 417
369 #define T_Prop_Delay 418
370 #define T_Proc_Delay 419
375 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
376 typedef union YYSTYPE
379 /* Line 1676 of yacc.c */
380 #line 50 "ntp_parser.y"
382 char *String;
383 double Double;
384 int Integer;
385 void *VoidPtr;
386 queue *Queue;
387 struct attr_val *Attr_val;
388 struct address_node *Address_node;
389 struct setvar_node *Set_var;
391 /* Simulation types */
392 server_info *Sim_server;
393 script_info *Sim_script;
397 /* Line 1676 of yacc.c */
398 #line 397 "../../ntpd/ntp_parser.h"
399 } YYSTYPE;
400 # define YYSTYPE_IS_TRIVIAL 1
401 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
402 # define YYSTYPE_IS_DECLARED 1
403 #endif
405 extern YYSTYPE yylval;