Deleted Added
full compact
ntpdc-opts.h (182007) ntpdc-opts.h (200576)
1/*
2 * EDIT THIS FILE WITH CAUTION (ntpdc-opts.h)
3 *
1/*
2 * EDIT THIS FILE WITH CAUTION (ntpdc-opts.h)
3 *
4 * It has been AutoGen-ed Sunday August 17, 2008 at 05:26:25 AM EDT
4 * It has been AutoGen-ed Tuesday December 8, 2009 at 08:14:00 AM EST
5 * From the definitions ntpdc-opts.def
6 * and the template file options
7 *
8 * Generated from AutoOpts 29:0:4 templates.
9 */
10
11/*
12 * This file was produced by an AutoOpts template. AutoOpts is a
13 * copyrighted work. This header file is not encumbered by AutoOpts
14 * licensing, but is provided under the licensing terms chosen by the
15 * ntpdc author or copyright holder. AutoOpts is licensed under
16 * the terms of the LGPL. The redistributable library (``libopts'') is
17 * licensed under the terms of either the LGPL or, at the users discretion,
18 * the BSD license. See the AutoOpts and/or libopts sources for details.
19 *
20 * This source file is copyrighted and licensed under the following terms:
21 *
5 * From the definitions ntpdc-opts.def
6 * and the template file options
7 *
8 * Generated from AutoOpts 29:0:4 templates.
9 */
10
11/*
12 * This file was produced by an AutoOpts template. AutoOpts is a
13 * copyrighted work. This header file is not encumbered by AutoOpts
14 * licensing, but is provided under the licensing terms chosen by the
15 * ntpdc author or copyright holder. AutoOpts is licensed under
16 * the terms of the LGPL. The redistributable library (``libopts'') is
17 * licensed under the terms of either the LGPL or, at the users discretion,
18 * the BSD license. See the AutoOpts and/or libopts sources for details.
19 *
20 * This source file is copyrighted and licensed under the following terms:
21 *
22 * ntpdc copyright 1970-2008 David L. Mills and/or others - all rights reserved
22 * ntpdc copyright 1970-2009 David L. Mills and/or others - all rights reserved
23 *
24 * see html/copyright.html
25 */
26/*
27 * This file contains the programmatic interface to the Automated
28 * Options generated for the ntpdc program.
29 * These macros are documented in the AutoGen info file in the
30 * "AutoOpts" chapter. Please refer to that doc for usage help.

--- 34 unchanged lines hidden (view full) ---

65 INDEX_OPT_VERSION = 10,
66 INDEX_OPT_HELP = 11,
67 INDEX_OPT_MORE_HELP = 12,
68 INDEX_OPT_SAVE_OPTS = 13,
69 INDEX_OPT_LOAD_OPTS = 14
70} teOptIndex;
71
72#define OPTION_CT 15
23 *
24 * see html/copyright.html
25 */
26/*
27 * This file contains the programmatic interface to the Automated
28 * Options generated for the ntpdc program.
29 * These macros are documented in the AutoGen info file in the
30 * "AutoOpts" chapter. Please refer to that doc for usage help.

--- 34 unchanged lines hidden (view full) ---

65 INDEX_OPT_VERSION = 10,
66 INDEX_OPT_HELP = 11,
67 INDEX_OPT_MORE_HELP = 12,
68 INDEX_OPT_SAVE_OPTS = 13,
69 INDEX_OPT_LOAD_OPTS = 14
70} teOptIndex;
71
72#define OPTION_CT 15
73#define NTPDC_VERSION "4.2.4p5"
74#define NTPDC_FULL_VERSION "ntpdc - vendor-specific NTP query program - Ver. 4.2.4p5"
73#define NTPDC_VERSION "4.2.4p8"
74#define NTPDC_FULL_VERSION "ntpdc - vendor-specific NTP query program - Ver. 4.2.4p8"
75
76/*
77 * Interface defines for all options. Replace "n" with the UPPER_CASED
78 * option name (as in the teOptIndex enumeration above).
79 * e.g. HAVE_OPT( IPV4 )
80 */
81#define DESC(n) (ntpdcOptions.pOptDesc[INDEX_OPT_## n])
82#define HAVE_OPT(n) (! UNUSED_OPT(& DESC(n)))

--- 102 unchanged lines hidden (view full) ---

185 */
186#define ERRSKIP_OPTERR STMTS( ntpdcOptions.fOptSet &= ~OPTPROC_ERRSTOP )
187#define ERRSTOP_OPTERR STMTS( ntpdcOptions.fOptSet |= OPTPROC_ERRSTOP )
188#define RESTART_OPT(n) STMTS( \
189 ntpdcOptions.curOptIdx = (n); \
190 ntpdcOptions.pzCurOpt = NULL )
191#define START_OPT RESTART_OPT(1)
192#define USAGE(c) (*ntpdcOptions.pUsageProc)( &ntpdcOptions, c )
75
76/*
77 * Interface defines for all options. Replace "n" with the UPPER_CASED
78 * option name (as in the teOptIndex enumeration above).
79 * e.g. HAVE_OPT( IPV4 )
80 */
81#define DESC(n) (ntpdcOptions.pOptDesc[INDEX_OPT_## n])
82#define HAVE_OPT(n) (! UNUSED_OPT(& DESC(n)))

--- 102 unchanged lines hidden (view full) ---

185 */
186#define ERRSKIP_OPTERR STMTS( ntpdcOptions.fOptSet &= ~OPTPROC_ERRSTOP )
187#define ERRSTOP_OPTERR STMTS( ntpdcOptions.fOptSet |= OPTPROC_ERRSTOP )
188#define RESTART_OPT(n) STMTS( \
189 ntpdcOptions.curOptIdx = (n); \
190 ntpdcOptions.pzCurOpt = NULL )
191#define START_OPT RESTART_OPT(1)
192#define USAGE(c) (*ntpdcOptions.pUsageProc)( &ntpdcOptions, c )
193/* extracted from /usr/local/gnu/share/autogen/opthead.tpl near line 360 */
193/* extracted from /usr/local/gnu/autogen-5.9.1/share/autogen/opthead.tpl near line 360 */
194
195/* * * * * *
196 *
197 * Declare the ntpdc option descriptor.
198 */
199#ifdef __cplusplus
200extern "C" {
201#endif

--- 21 unchanged lines hidden ---
194
195/* * * * * *
196 *
197 * Declare the ntpdc option descriptor.
198 */
199#ifdef __cplusplus
200extern "C" {
201#endif

--- 21 unchanged lines hidden ---