Deleted Added
full compact
ntpq-opts.h (182007) ntpq-opts.h (200576)
1/*
2 * EDIT THIS FILE WITH CAUTION (ntpq-opts.h)
3 *
1/*
2 * EDIT THIS FILE WITH CAUTION (ntpq-opts.h)
3 *
4 * It has been AutoGen-ed Sunday August 17, 2008 at 05:26:55 AM EDT
4 * It has been AutoGen-ed Tuesday December 8, 2009 at 08:14:26 AM EST
5 * From the definitions ntpq-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 * ntpq 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 ntpq-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 * ntpq 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 * ntpq copyright 1970-2008 David L. Mills and/or others - all rights reserved
22 * ntpq 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 ntpq program.
29 * These macros are documented in the AutoGen info file in the
30 * "AutoOpts" chapter. Please refer to that doc for usage help.

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

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

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

63 INDEX_OPT_VERSION = 8,
64 INDEX_OPT_HELP = 9,
65 INDEX_OPT_MORE_HELP = 10,
66 INDEX_OPT_SAVE_OPTS = 11,
67 INDEX_OPT_LOAD_OPTS = 12
68} teOptIndex;
69
70#define OPTION_CT 13
71#define NTPQ_VERSION "4.2.4p5"
72#define NTPQ_FULL_VERSION "ntpq - standard NTP query program - Ver. 4.2.4p5"
71#define NTPQ_VERSION "4.2.4p8"
72#define NTPQ_FULL_VERSION "ntpq - standard NTP query program - Ver. 4.2.4p8"
73
74/*
75 * Interface defines for all options. Replace "n" with the UPPER_CASED
76 * option name (as in the teOptIndex enumeration above).
77 * e.g. HAVE_OPT( IPV4 )
78 */
79#define DESC(n) (ntpqOptions.pOptDesc[INDEX_OPT_## n])
80#define HAVE_OPT(n) (! UNUSED_OPT(& DESC(n)))

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

171 */
172#define ERRSKIP_OPTERR STMTS( ntpqOptions.fOptSet &= ~OPTPROC_ERRSTOP )
173#define ERRSTOP_OPTERR STMTS( ntpqOptions.fOptSet |= OPTPROC_ERRSTOP )
174#define RESTART_OPT(n) STMTS( \
175 ntpqOptions.curOptIdx = (n); \
176 ntpqOptions.pzCurOpt = NULL )
177#define START_OPT RESTART_OPT(1)
178#define USAGE(c) (*ntpqOptions.pUsageProc)( &ntpqOptions, c )
73
74/*
75 * Interface defines for all options. Replace "n" with the UPPER_CASED
76 * option name (as in the teOptIndex enumeration above).
77 * e.g. HAVE_OPT( IPV4 )
78 */
79#define DESC(n) (ntpqOptions.pOptDesc[INDEX_OPT_## n])
80#define HAVE_OPT(n) (! UNUSED_OPT(& DESC(n)))

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

171 */
172#define ERRSKIP_OPTERR STMTS( ntpqOptions.fOptSet &= ~OPTPROC_ERRSTOP )
173#define ERRSTOP_OPTERR STMTS( ntpqOptions.fOptSet |= OPTPROC_ERRSTOP )
174#define RESTART_OPT(n) STMTS( \
175 ntpqOptions.curOptIdx = (n); \
176 ntpqOptions.pzCurOpt = NULL )
177#define START_OPT RESTART_OPT(1)
178#define USAGE(c) (*ntpqOptions.pUsageProc)( &ntpqOptions, c )
179/* extracted from /usr/local/gnu/share/autogen/opthead.tpl near line 360 */
179/* extracted from /usr/local/gnu/autogen-5.9.1/share/autogen/opthead.tpl near line 360 */
180
181/* * * * * *
182 *
183 * Declare the ntpq option descriptor.
184 */
185#ifdef __cplusplus
186extern "C" {
187#endif

--- 21 unchanged lines hidden ---
180
181/* * * * * *
182 *
183 * Declare the ntpq option descriptor.
184 */
185#ifdef __cplusplus
186extern "C" {
187#endif

--- 21 unchanged lines hidden ---