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

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

74 INDEX_OPT_VERSION = 19,
75 INDEX_OPT_HELP = 20,
76 INDEX_OPT_MORE_HELP = 21,
77 INDEX_OPT_SAVE_OPTS = 22,
78 INDEX_OPT_LOAD_OPTS = 23
79} teOptIndex;
80
81#define OPTION_CT 24
23 *
24 * see html/copyright.html
25 */
26/*
27 * This file contains the programmatic interface to the Automated
28 * Options generated for the ntp-keygen program.
29 * These macros are documented in the AutoGen info file in the
30 * "AutoOpts" chapter. Please refer to that doc for usage help.

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

74 INDEX_OPT_VERSION = 19,
75 INDEX_OPT_HELP = 20,
76 INDEX_OPT_MORE_HELP = 21,
77 INDEX_OPT_SAVE_OPTS = 22,
78 INDEX_OPT_LOAD_OPTS = 23
79} teOptIndex;
80
81#define OPTION_CT 24
82#define NTP_KEYGEN_VERSION "4.2.4p5"
83#define NTP_KEYGEN_FULL_VERSION "ntp-keygen (ntp) - Create a NTP host key - Ver. 4.2.4p5"
82#define NTP_KEYGEN_VERSION "4.2.4p8"
83#define NTP_KEYGEN_FULL_VERSION "ntp-keygen (ntp) - Create a NTP host key - Ver. 4.2.4p8"
84
85/*
86 * Interface defines for all options. Replace "n" with the UPPER_CASED
87 * option name (as in the teOptIndex enumeration above).
88 * e.g. HAVE_OPT( CERTIFICATE )
89 */
90#define DESC(n) (ntp_keygenOptions.pOptDesc[INDEX_OPT_## n])
91#define HAVE_OPT(n) (! UNUSED_OPT(& DESC(n)))

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

281 */
282#define ERRSKIP_OPTERR STMTS( ntp_keygenOptions.fOptSet &= ~OPTPROC_ERRSTOP )
283#define ERRSTOP_OPTERR STMTS( ntp_keygenOptions.fOptSet |= OPTPROC_ERRSTOP )
284#define RESTART_OPT(n) STMTS( \
285 ntp_keygenOptions.curOptIdx = (n); \
286 ntp_keygenOptions.pzCurOpt = NULL )
287#define START_OPT RESTART_OPT(1)
288#define USAGE(c) (*ntp_keygenOptions.pUsageProc)( &ntp_keygenOptions, c )
84
85/*
86 * Interface defines for all options. Replace "n" with the UPPER_CASED
87 * option name (as in the teOptIndex enumeration above).
88 * e.g. HAVE_OPT( CERTIFICATE )
89 */
90#define DESC(n) (ntp_keygenOptions.pOptDesc[INDEX_OPT_## n])
91#define HAVE_OPT(n) (! UNUSED_OPT(& DESC(n)))

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

281 */
282#define ERRSKIP_OPTERR STMTS( ntp_keygenOptions.fOptSet &= ~OPTPROC_ERRSTOP )
283#define ERRSTOP_OPTERR STMTS( ntp_keygenOptions.fOptSet |= OPTPROC_ERRSTOP )
284#define RESTART_OPT(n) STMTS( \
285 ntp_keygenOptions.curOptIdx = (n); \
286 ntp_keygenOptions.pzCurOpt = NULL )
287#define START_OPT RESTART_OPT(1)
288#define USAGE(c) (*ntp_keygenOptions.pUsageProc)( &ntp_keygenOptions, c )
289/* extracted from /usr/local/gnu/share/autogen/opthead.tpl near line 360 */
289/* extracted from /usr/local/gnu/autogen-5.9.1/share/autogen/opthead.tpl near line 360 */
290
291/* * * * * *
292 *
293 * Declare the ntp-keygen option descriptor.
294 */
295#ifdef __cplusplus
296extern "C" {
297#endif

--- 21 unchanged lines hidden ---
290
291/* * * * * *
292 *
293 * Declare the ntp-keygen option descriptor.
294 */
295#ifdef __cplusplus
296extern "C" {
297#endif

--- 21 unchanged lines hidden ---