From: Dave Hart Date: Fri, 17 Dec 2010 01:59:53 +0000 (+0000) Subject: Many files: X-Git-Tag: NTP_4_2_7P95~4^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c3556ba914639b2d9aa087eb4ce5eb776ffadcbe;p=thirdparty%2Fntp.git Many files: Autogen 5.11.6pre3 output bk: 4d0ac419PlUJrctoGiq8MztMBv1kdA --- diff --git a/ntpd/ntpd-opts.c b/ntpd/ntpd-opts.c index 86738b9c8..13b2b43da 100644 --- a/ntpd/ntpd-opts.c +++ b/ntpd/ntpd-opts.c @@ -1,11 +1,11 @@ /* * EDIT THIS FILE WITH CAUTION (ntpd-opts.c) * - * It has been AutoGen-ed November 27, 2010 at 11:50:26 PM by AutoGen 5.11.3 + * It has been AutoGen-ed December 17, 2010 at 01:50:12 AM by AutoGen 5.11.6pre3 * From the definitions ntpd-opts.def * and the template file options * - * Generated from AutoOpts 33:3:8 templates. + * Generated from AutoOpts 33:5:8 templates. * * AutoOpts is a copyrighted work. This source file is not encumbered * by AutoOpts licensing, but is provided under the licensing terms chosen @@ -963,7 +963,7 @@ tSCC zBugsAddr[] = "http://bugs.ntp.org, bugs@ntp.org"; #define zExplain NULL tSCC zDetail[] = "\n\n"; tSCC zFullVersion[] = NTPD_FULL_VERSION; -/* extracted from /usr/local/gnu/share/autogen/optcode.tpl near line 493 */ +/* extracted from /usr/local/share/autogen/optcode.tpl near line 493 */ #if defined(ENABLE_NLS) # define OPTPROC_BASE OPTPROC_TRANSLATE @@ -1036,7 +1036,7 @@ DESC(DEBUG_LEVEL).optOccCt = atoi( pOptDesc->pzLastArg ); } #endif /* defined DEBUG */ #endif /* defined(TEST_NTPD_OPTS) */ -/* extracted from /usr/local/gnu/share/autogen/optmain.tpl near line 107 */ +/* extracted from /usr/local/share/autogen/optmain.tpl near line 107 */ #if defined(TEST_NTPD_OPTS) /* TEST MAIN PROCEDURE: */ @@ -1054,7 +1054,7 @@ main(int argc, char** argv) return res; } #endif /* defined TEST_NTPD_OPTS */ -/* extracted from /usr/local/gnu/share/autogen/optcode.tpl near line 626 */ +/* extracted from /usr/local/share/autogen/optcode.tpl near line 626 */ #if ENABLE_NLS #include diff --git a/ntpd/ntpd-opts.h b/ntpd/ntpd-opts.h index eec5eb3ee..65ca50feb 100644 --- a/ntpd/ntpd-opts.h +++ b/ntpd/ntpd-opts.h @@ -1,11 +1,11 @@ /* * EDIT THIS FILE WITH CAUTION (ntpd-opts.h) * - * It has been AutoGen-ed November 27, 2010 at 11:50:26 PM by AutoGen 5.11.3 + * It has been AutoGen-ed December 17, 2010 at 01:50:12 AM by AutoGen 5.11.6pre3 * From the definitions ntpd-opts.def * and the template file options * - * Generated from AutoOpts 33:3:8 templates. + * Generated from AutoOpts 33:5:8 templates. * * AutoOpts is a copyrighted work. This header file is not encumbered * by AutoOpts licensing, but is provided under the licensing terms chosen @@ -39,7 +39,7 @@ * tolerable version is at least as old as what was current when the header * template was released. */ -#define AO_TEMPLATE_VERSION 135171 +#define AO_TEMPLATE_VERSION 135173 #if (AO_TEMPLATE_VERSION < OPTIONS_MINIMUM_VERSION) \ || (AO_TEMPLATE_VERSION > OPTIONS_STRUCT_VERSION) # error option template version mismatches autoopts/options.h header @@ -112,6 +112,15 @@ typedef enum { DESC(n).fOptState |= OPTST_DISABLED; \ DESC(n).optCookie = NULL ) +/* * * * * * + * + * Enumeration of ntpd exit codes + */ +typedef enum { + NTPD_EXIT_SUCCESS = 0, + NTPD_EXIT_FAILURE = 1 +} ntpd_exit_code_t; + /* * Make sure there are no #define name conflicts with the option names */ @@ -332,7 +341,7 @@ typedef enum { ntpdOptions.pzCurOpt = NULL) #define START_OPT RESTART_OPT(1) #define USAGE(c) (*ntpdOptions.pUsageProc)(&ntpdOptions, c) -/* extracted from /usr/local/gnu/share/autogen/opthead.tpl near line 408 */ +/* extracted from /usr/local/share/autogen/opthead.tpl near line 435 */ /* * * * * * * diff --git a/ntpd/ntpd-opts.texi b/ntpd/ntpd-opts.texi index fc2bec861..7f7bc8661 100644 --- a/ntpd/ntpd-opts.texi +++ b/ntpd/ntpd-opts.texi @@ -6,7 +6,7 @@ # # EDIT THIS FILE WITH CAUTION (ntpd-opts.texi) # -# It has been AutoGen-ed November 27, 2010 at 11:51:07 PM by AutoGen 5.11.3 +# It has been AutoGen-ed December 17, 2010 at 01:50:28 AM by AutoGen 5.11.6pre3 # From the definitions ntpd-opts.def # and the template file aginfo.tpl @end ignore diff --git a/ntpd/ntpd.1 b/ntpd/ntpd.1 index 0617a01cd..b970d96c5 100644 --- a/ntpd/ntpd.1 +++ b/ntpd/ntpd.1 @@ -1,7 +1,7 @@ -.TH NTPD 1 2010-11-27 "( 4.2.6p3-RC11)" "Programmer's Manual" +.TH NTPD 1 2010-12-17 "( 4.2.6p3-RC11)" "Programmer's Manual" .\" EDIT THIS FILE WITH CAUTION (ntpd.1) .\" -.\" It has been AutoGen-ed November 27, 2010 at 11:51:06 PM by AutoGen 5.11.3 +.\" It has been AutoGen-ed December 17, 2010 at 01:50:27 AM by AutoGen 5.11.6pre3 .\" From the definitions ntpd-opts.def .\" and the template file agman1.tpl .\" diff --git a/ntpdc/ntpdc-opts.c b/ntpdc/ntpdc-opts.c index 56f0bd4b6..7a420757a 100644 --- a/ntpdc/ntpdc-opts.c +++ b/ntpdc/ntpdc-opts.c @@ -1,11 +1,11 @@ /* * EDIT THIS FILE WITH CAUTION (ntpdc-opts.c) * - * It has been AutoGen-ed November 27, 2010 at 11:51:15 PM by AutoGen 5.11.3 + * It has been AutoGen-ed December 17, 2010 at 01:50:31 AM by AutoGen 5.11.6pre3 * From the definitions ntpdc-opts.def * and the template file options * - * Generated from AutoOpts 33:3:8 templates. + * Generated from AutoOpts 33:5:8 templates. * * AutoOpts is a copyrighted work. This source file is not encumbered * by AutoOpts licensing, but is provided under the licensing terms chosen @@ -479,7 +479,7 @@ configuration options which can be specified at startup using\n\ ntpd's configuration file may also be specified at run time using\n\ [= prog-name =] .\n"; tSCC zFullVersion[] = NTPDC_FULL_VERSION; -/* extracted from /usr/local/gnu/share/autogen/optcode.tpl near line 493 */ +/* extracted from /usr/local/share/autogen/optcode.tpl near line 493 */ #if defined(ENABLE_NLS) # define OPTPROC_BASE OPTPROC_TRANSLATE @@ -549,7 +549,7 @@ doOptSet_Debug_Level(tOptions* pOptions, tOptDesc* pOptDesc) DESC(DEBUG_LEVEL).optOccCt = atoi( pOptDesc->pzLastArg ); } #endif /* defined(TEST_NTPDC_OPTS) */ -/* extracted from /usr/local/gnu/share/autogen/optmain.tpl near line 107 */ +/* extracted from /usr/local/share/autogen/optmain.tpl near line 107 */ #if defined(TEST_NTPDC_OPTS) /* TEST MAIN PROCEDURE: */ @@ -567,7 +567,7 @@ main(int argc, char** argv) return res; } #endif /* defined TEST_NTPDC_OPTS */ -/* extracted from /usr/local/gnu/share/autogen/optcode.tpl near line 626 */ +/* extracted from /usr/local/share/autogen/optcode.tpl near line 626 */ #if ENABLE_NLS #include diff --git a/ntpdc/ntpdc-opts.h b/ntpdc/ntpdc-opts.h index 46a833891..302015b4b 100644 --- a/ntpdc/ntpdc-opts.h +++ b/ntpdc/ntpdc-opts.h @@ -1,11 +1,11 @@ /* * EDIT THIS FILE WITH CAUTION (ntpdc-opts.h) * - * It has been AutoGen-ed November 27, 2010 at 11:51:15 PM by AutoGen 5.11.3 + * It has been AutoGen-ed December 17, 2010 at 01:50:31 AM by AutoGen 5.11.6pre3 * From the definitions ntpdc-opts.def * and the template file options * - * Generated from AutoOpts 33:3:8 templates. + * Generated from AutoOpts 33:5:8 templates. * * AutoOpts is a copyrighted work. This header file is not encumbered * by AutoOpts licensing, but is provided under the licensing terms chosen @@ -39,7 +39,7 @@ * tolerable version is at least as old as what was current when the header * template was released. */ -#define AO_TEMPLATE_VERSION 135171 +#define AO_TEMPLATE_VERSION 135173 #if (AO_TEMPLATE_VERSION < OPTIONS_MINIMUM_VERSION) \ || (AO_TEMPLATE_VERSION > OPTIONS_STRUCT_VERSION) # error option template version mismatches autoopts/options.h header @@ -92,6 +92,15 @@ typedef enum { DESC(n).fOptState |= OPTST_DISABLED; \ DESC(n).optCookie = NULL ) +/* * * * * * + * + * Enumeration of ntpdc exit codes + */ +typedef enum { + NTPDC_EXIT_SUCCESS = 0, + NTPDC_EXIT_FAILURE = 1 +} ntpdc_exit_code_t; + /* * Make sure there are no #define name conflicts with the option names */ @@ -182,7 +191,7 @@ typedef enum { ntpdcOptions.pzCurOpt = NULL) #define START_OPT RESTART_OPT(1) #define USAGE(c) (*ntpdcOptions.pUsageProc)(&ntpdcOptions, c) -/* extracted from /usr/local/gnu/share/autogen/opthead.tpl near line 408 */ +/* extracted from /usr/local/share/autogen/opthead.tpl near line 435 */ /* * * * * * * diff --git a/ntpdc/ntpdc-opts.texi b/ntpdc/ntpdc-opts.texi index 8aef89b14..085b392f5 100644 --- a/ntpdc/ntpdc-opts.texi +++ b/ntpdc/ntpdc-opts.texi @@ -6,7 +6,7 @@ # # EDIT THIS FILE WITH CAUTION (ntpdc-opts.texi) # -# It has been AutoGen-ed November 27, 2010 at 11:51:26 PM by AutoGen 5.11.3 +# It has been AutoGen-ed December 17, 2010 at 01:50:42 AM by AutoGen 5.11.6pre3 # From the definitions ntpdc-opts.def # and the template file aginfo.tpl @end ignore diff --git a/ntpdc/ntpdc.1 b/ntpdc/ntpdc.1 index 0d9f759a8..ca60ed7a6 100644 --- a/ntpdc/ntpdc.1 +++ b/ntpdc/ntpdc.1 @@ -1,7 +1,7 @@ -.TH NTPDC 1 2010-11-27 "( 4.2.6p3-RC11)" "Programmer's Manual" +.TH NTPDC 1 2010-12-17 "( 4.2.6p3-RC11)" "Programmer's Manual" .\" EDIT THIS FILE WITH CAUTION (ntpdc.1) .\" -.\" It has been AutoGen-ed November 27, 2010 at 11:51:25 PM by AutoGen 5.11.3 +.\" It has been AutoGen-ed December 17, 2010 at 01:50:40 AM by AutoGen 5.11.6pre3 .\" From the definitions ntpdc-opts.def .\" and the template file agman1.tpl .\" diff --git a/ntpq/ntpq-opts.c b/ntpq/ntpq-opts.c index fe208b485..263fa427e 100644 --- a/ntpq/ntpq-opts.c +++ b/ntpq/ntpq-opts.c @@ -1,11 +1,11 @@ /* * EDIT THIS FILE WITH CAUTION (ntpq-opts.c) * - * It has been AutoGen-ed November 27, 2010 at 11:51:26 PM by AutoGen 5.11.3 + * It has been AutoGen-ed December 17, 2010 at 01:50:43 AM by AutoGen 5.11.6pre3 * From the definitions ntpq-opts.def * and the template file options * - * Generated from AutoOpts 33:3:8 templates. + * Generated from AutoOpts 33:5:8 templates. * * AutoOpts is a copyrighted work. This source file is not encumbered * by AutoOpts licensing, but is provided under the licensing terms chosen @@ -448,7 +448,7 @@ information about current state and/or changes in that state.\n\ The same formats are used in NTPv4, although some of the\n\ variables have changed and new ones added.\n"; tSCC zFullVersion[] = NTPQ_FULL_VERSION; -/* extracted from /usr/local/gnu/share/autogen/optcode.tpl near line 493 */ +/* extracted from /usr/local/share/autogen/optcode.tpl near line 493 */ #if defined(ENABLE_NLS) # define OPTPROC_BASE OPTPROC_TRANSLATE @@ -518,7 +518,7 @@ doOptSet_Debug_Level(tOptions* pOptions, tOptDesc* pOptDesc) DESC(DEBUG_LEVEL).optOccCt = atoi( pOptDesc->pzLastArg ); } #endif /* defined(TEST_NTPQ_OPTS) */ -/* extracted from /usr/local/gnu/share/autogen/optmain.tpl near line 107 */ +/* extracted from /usr/local/share/autogen/optmain.tpl near line 107 */ #if defined(TEST_NTPQ_OPTS) /* TEST MAIN PROCEDURE: */ @@ -536,7 +536,7 @@ main(int argc, char** argv) return res; } #endif /* defined TEST_NTPQ_OPTS */ -/* extracted from /usr/local/gnu/share/autogen/optcode.tpl near line 626 */ +/* extracted from /usr/local/share/autogen/optcode.tpl near line 626 */ #if ENABLE_NLS #include diff --git a/ntpq/ntpq-opts.h b/ntpq/ntpq-opts.h index 8665b890f..474db6235 100644 --- a/ntpq/ntpq-opts.h +++ b/ntpq/ntpq-opts.h @@ -1,11 +1,11 @@ /* * EDIT THIS FILE WITH CAUTION (ntpq-opts.h) * - * It has been AutoGen-ed November 27, 2010 at 11:51:26 PM by AutoGen 5.11.3 + * It has been AutoGen-ed December 17, 2010 at 01:50:43 AM by AutoGen 5.11.6pre3 * From the definitions ntpq-opts.def * and the template file options * - * Generated from AutoOpts 33:3:8 templates. + * Generated from AutoOpts 33:5:8 templates. * * AutoOpts is a copyrighted work. This header file is not encumbered * by AutoOpts licensing, but is provided under the licensing terms chosen @@ -39,7 +39,7 @@ * tolerable version is at least as old as what was current when the header * template was released. */ -#define AO_TEMPLATE_VERSION 135171 +#define AO_TEMPLATE_VERSION 135173 #if (AO_TEMPLATE_VERSION < OPTIONS_MINIMUM_VERSION) \ || (AO_TEMPLATE_VERSION > OPTIONS_STRUCT_VERSION) # error option template version mismatches autoopts/options.h header @@ -91,6 +91,15 @@ typedef enum { DESC(n).fOptState |= OPTST_DISABLED; \ DESC(n).optCookie = NULL ) +/* * * * * * + * + * Enumeration of ntpq exit codes + */ +typedef enum { + NTPQ_EXIT_SUCCESS = 0, + NTPQ_EXIT_FAILURE = 1 +} ntpq_exit_code_t; + /* * Make sure there are no #define name conflicts with the option names */ @@ -175,7 +184,7 @@ typedef enum { ntpqOptions.pzCurOpt = NULL) #define START_OPT RESTART_OPT(1) #define USAGE(c) (*ntpqOptions.pUsageProc)(&ntpqOptions, c) -/* extracted from /usr/local/gnu/share/autogen/opthead.tpl near line 408 */ +/* extracted from /usr/local/share/autogen/opthead.tpl near line 435 */ /* * * * * * * diff --git a/ntpq/ntpq-opts.texi b/ntpq/ntpq-opts.texi index 1b708b997..d3f94e569 100644 --- a/ntpq/ntpq-opts.texi +++ b/ntpq/ntpq-opts.texi @@ -6,7 +6,7 @@ # # EDIT THIS FILE WITH CAUTION (ntpq-opts.texi) # -# It has been AutoGen-ed November 27, 2010 at 11:51:38 PM by AutoGen 5.11.3 +# It has been AutoGen-ed December 17, 2010 at 01:50:56 AM by AutoGen 5.11.6pre3 # From the definitions ntpq-opts.def # and the template file aginfo.tpl @end ignore diff --git a/ntpq/ntpq.1 b/ntpq/ntpq.1 index 157bb060f..12db62cf5 100644 --- a/ntpq/ntpq.1 +++ b/ntpq/ntpq.1 @@ -1,7 +1,7 @@ -.TH NTPQ 1 2010-11-27 "( 4.2.6p3-RC11)" "Programmer's Manual" +.TH NTPQ 1 2010-12-17 "( 4.2.6p3-RC11)" "Programmer's Manual" .\" EDIT THIS FILE WITH CAUTION (ntpq.1) .\" -.\" It has been AutoGen-ed November 27, 2010 at 11:51:38 PM by AutoGen 5.11.3 +.\" It has been AutoGen-ed December 17, 2010 at 01:50:55 AM by AutoGen 5.11.6pre3 .\" From the definitions ntpq-opts.def .\" and the template file agman1.tpl .\" diff --git a/ntpsnmpd/ntpsnmpd-opts.c b/ntpsnmpd/ntpsnmpd-opts.c index d4d5d13f1..7913b6f9c 100644 --- a/ntpsnmpd/ntpsnmpd-opts.c +++ b/ntpsnmpd/ntpsnmpd-opts.c @@ -1,11 +1,11 @@ /* * EDIT THIS FILE WITH CAUTION (ntpsnmpd-opts.c) * - * It has been AutoGen-ed November 27, 2010 at 11:51:39 PM by AutoGen 5.11.3 + * It has been AutoGen-ed December 17, 2010 at 01:50:58 AM by AutoGen 5.11.6pre3 * From the definitions ntpsnmpd-opts.def * and the template file options * - * Generated from AutoOpts 33:3:8 templates. + * Generated from AutoOpts 33:5:8 templates. * * AutoOpts is a copyrighted work. This source file is not encumbered * by AutoOpts licensing, but is provided under the licensing terms chosen @@ -267,7 +267,7 @@ tSCC zBugsAddr[] = "http://bugs.ntp.org, bugs@ntp.org"; #define zExplain NULL #define zDetail NULL tSCC zFullVersion[] = NTPSNMPD_FULL_VERSION; -/* extracted from /usr/local/gnu/share/autogen/optcode.tpl near line 493 */ +/* extracted from /usr/local/share/autogen/optcode.tpl near line 493 */ #if defined(ENABLE_NLS) # define OPTPROC_BASE OPTPROC_TRANSLATE @@ -324,7 +324,7 @@ doUsageOpt( (void)pOptions; USAGE(EXIT_SUCCESS); } -/* extracted from /usr/local/gnu/share/autogen/optmain.tpl near line 107 */ +/* extracted from /usr/local/share/autogen/optmain.tpl near line 107 */ #if defined(TEST_NTPSNMPD_OPTS) /* TEST MAIN PROCEDURE: */ @@ -342,7 +342,7 @@ main(int argc, char** argv) return res; } #endif /* defined TEST_NTPSNMPD_OPTS */ -/* extracted from /usr/local/gnu/share/autogen/optcode.tpl near line 626 */ +/* extracted from /usr/local/share/autogen/optcode.tpl near line 626 */ #if ENABLE_NLS #include diff --git a/ntpsnmpd/ntpsnmpd-opts.h b/ntpsnmpd/ntpsnmpd-opts.h index 655df190e..d9be697fb 100644 --- a/ntpsnmpd/ntpsnmpd-opts.h +++ b/ntpsnmpd/ntpsnmpd-opts.h @@ -1,11 +1,11 @@ /* * EDIT THIS FILE WITH CAUTION (ntpsnmpd-opts.h) * - * It has been AutoGen-ed November 27, 2010 at 11:51:38 PM by AutoGen 5.11.3 + * It has been AutoGen-ed December 17, 2010 at 01:50:58 AM by AutoGen 5.11.6pre3 * From the definitions ntpsnmpd-opts.def * and the template file options * - * Generated from AutoOpts 33:3:8 templates. + * Generated from AutoOpts 33:5:8 templates. * * AutoOpts is a copyrighted work. This header file is not encumbered * by AutoOpts licensing, but is provided under the licensing terms chosen @@ -39,7 +39,7 @@ * tolerable version is at least as old as what was current when the header * template was released. */ -#define AO_TEMPLATE_VERSION 135171 +#define AO_TEMPLATE_VERSION 135173 #if (AO_TEMPLATE_VERSION < OPTIONS_MINIMUM_VERSION) \ || (AO_TEMPLATE_VERSION > OPTIONS_STRUCT_VERSION) # error option template version mismatches autoopts/options.h header @@ -85,6 +85,15 @@ typedef enum { DESC(n).fOptState |= OPTST_DISABLED; \ DESC(n).optCookie = NULL ) +/* * * * * * + * + * Enumeration of ntpsnmpd exit codes + */ +typedef enum { + NTPSNMPD_EXIT_SUCCESS = 0, + NTPSNMPD_EXIT_FAILURE = 1 +} ntpsnmpd_exit_code_t; + /* * Make sure there are no #define name conflicts with the option names */ @@ -133,7 +142,7 @@ typedef enum { ntpsnmpdOptions.pzCurOpt = NULL) #define START_OPT RESTART_OPT(1) #define USAGE(c) (*ntpsnmpdOptions.pUsageProc)(&ntpsnmpdOptions, c) -/* extracted from /usr/local/gnu/share/autogen/opthead.tpl near line 408 */ +/* extracted from /usr/local/share/autogen/opthead.tpl near line 435 */ /* * * * * * * diff --git a/ntpsnmpd/ntpsnmpd-opts.texi b/ntpsnmpd/ntpsnmpd-opts.texi index 955185216..3a4687c25 100644 --- a/ntpsnmpd/ntpsnmpd-opts.texi +++ b/ntpsnmpd/ntpsnmpd-opts.texi @@ -6,7 +6,7 @@ # # EDIT THIS FILE WITH CAUTION (ntpsnmpd-opts.texi) # -# It has been AutoGen-ed November 27, 2010 at 11:51:45 PM by AutoGen 5.11.3 +# It has been AutoGen-ed December 17, 2010 at 01:51:00 AM by AutoGen 5.11.6pre3 # From the definitions ntpsnmpd-opts.def # and the template file aginfo.tpl @end ignore diff --git a/ntpsnmpd/ntpsnmpd.1 b/ntpsnmpd/ntpsnmpd.1 index afe1dc835..2c11f7ab2 100644 --- a/ntpsnmpd/ntpsnmpd.1 +++ b/ntpsnmpd/ntpsnmpd.1 @@ -1,7 +1,7 @@ -.TH NTPSNMPD 1 2010-11-27 "( 4.2.6p3-RC11)" "Programmer's Manual" +.TH NTPSNMPD 1 2010-12-17 "( 4.2.6p3-RC11)" "Programmer's Manual" .\" EDIT THIS FILE WITH CAUTION (ntpsnmpd.1) .\" -.\" It has been AutoGen-ed November 27, 2010 at 11:51:44 PM by AutoGen 5.11.3 +.\" It has been AutoGen-ed December 17, 2010 at 01:50:59 AM by AutoGen 5.11.6pre3 .\" From the definitions ntpsnmpd-opts.def .\" and the template file agman1.tpl .\" diff --git a/util/ntp-keygen-opts.c b/util/ntp-keygen-opts.c index 2e891b079..836ad4d7a 100644 --- a/util/ntp-keygen-opts.c +++ b/util/ntp-keygen-opts.c @@ -1,11 +1,11 @@ /* * EDIT THIS FILE WITH CAUTION (ntp-keygen-opts.c) * - * It has been AutoGen-ed November 27, 2010 at 11:51:47 PM by AutoGen 5.11.3 + * It has been AutoGen-ed December 17, 2010 at 01:51:02 AM by AutoGen 5.11.6pre3 * From the definitions ntp-keygen-opts.def * and the template file options * - * Generated from AutoOpts 33:3:8 templates. + * Generated from AutoOpts 33:5:8 templates. * * AutoOpts is a copyrighted work. This source file is not encumbered * by AutoOpts licensing, but is provided under the licensing terms chosen @@ -741,7 +741,7 @@ tSCC zDetail[] = "\n\ If there is no new host key, look for an existing one.\n\ If one is not found, create it.\n"; tSCC zFullVersion[] = NTP_KEYGEN_FULL_VERSION; -/* extracted from /usr/local/gnu/share/autogen/optcode.tpl near line 493 */ +/* extracted from /usr/local/share/autogen/optcode.tpl near line 493 */ #if defined(ENABLE_NLS) # define OPTPROC_BASE OPTPROC_TRANSLATE @@ -864,7 +864,7 @@ doOptModulus(tOptions* pOptions, tOptDesc* pOptDesc) pOptDesc->optArg.argInt = val; } #endif /* defined OPENSSL */ -/* extracted from /usr/local/gnu/share/autogen/optmain.tpl near line 107 */ +/* extracted from /usr/local/share/autogen/optmain.tpl near line 107 */ #if defined(TEST_NTP_KEYGEN_OPTS) /* TEST MAIN PROCEDURE: */ @@ -882,7 +882,7 @@ main(int argc, char** argv) return res; } #endif /* defined TEST_NTP_KEYGEN_OPTS */ -/* extracted from /usr/local/gnu/share/autogen/optcode.tpl near line 626 */ +/* extracted from /usr/local/share/autogen/optcode.tpl near line 626 */ #if ENABLE_NLS #include diff --git a/util/ntp-keygen-opts.h b/util/ntp-keygen-opts.h index f08f30abf..3e49207be 100644 --- a/util/ntp-keygen-opts.h +++ b/util/ntp-keygen-opts.h @@ -1,11 +1,11 @@ /* * EDIT THIS FILE WITH CAUTION (ntp-keygen-opts.h) * - * It has been AutoGen-ed November 27, 2010 at 11:51:46 PM by AutoGen 5.11.3 + * It has been AutoGen-ed December 17, 2010 at 01:51:02 AM by AutoGen 5.11.6pre3 * From the definitions ntp-keygen-opts.def * and the template file options * - * Generated from AutoOpts 33:3:8 templates. + * Generated from AutoOpts 33:5:8 templates. * * AutoOpts is a copyrighted work. This header file is not encumbered * by AutoOpts licensing, but is provided under the licensing terms chosen @@ -39,7 +39,7 @@ * tolerable version is at least as old as what was current when the header * template was released. */ -#define AO_TEMPLATE_VERSION 135171 +#define AO_TEMPLATE_VERSION 135173 #if (AO_TEMPLATE_VERSION < OPTIONS_MINIMUM_VERSION) \ || (AO_TEMPLATE_VERSION > OPTIONS_STRUCT_VERSION) # error option template version mismatches autoopts/options.h header @@ -100,6 +100,15 @@ typedef enum { DESC(n).fOptState |= OPTST_DISABLED; \ DESC(n).optCookie = NULL ) +/* * * * * * + * + * Enumeration of ntp-keygen exit codes + */ +typedef enum { + NTP_KEYGEN_EXIT_SUCCESS = 0, + NTP_KEYGEN_EXIT_FAILURE = 1 +} ntp_keygen_exit_code_t; + /* * Make sure there are no #define name conflicts with the option names */ @@ -250,7 +259,7 @@ typedef enum { ntp_keygenOptions.pzCurOpt = NULL) #define START_OPT RESTART_OPT(1) #define USAGE(c) (*ntp_keygenOptions.pUsageProc)(&ntp_keygenOptions, c) -/* extracted from /usr/local/gnu/share/autogen/opthead.tpl near line 408 */ +/* extracted from /usr/local/share/autogen/opthead.tpl near line 435 */ /* * * * * * * diff --git a/util/ntp-keygen-opts.texi b/util/ntp-keygen-opts.texi index b3121d29e..7b0da98a1 100644 --- a/util/ntp-keygen-opts.texi +++ b/util/ntp-keygen-opts.texi @@ -6,7 +6,7 @@ # # EDIT THIS FILE WITH CAUTION (ntp-keygen-opts.texi) # -# It has been AutoGen-ed November 27, 2010 at 11:51:53 PM by AutoGen 5.11.3 +# It has been AutoGen-ed December 17, 2010 at 01:51:05 AM by AutoGen 5.11.6pre3 # From the definitions ntp-keygen-opts.def # and the template file aginfo.tpl @end ignore diff --git a/util/ntp-keygen.1 b/util/ntp-keygen.1 index 44b9fa052..609a83ac4 100644 --- a/util/ntp-keygen.1 +++ b/util/ntp-keygen.1 @@ -1,7 +1,7 @@ -.TH NTP-KEYGEN 1 2010-11-27 "(ntp 4.2.6p3-RC11)" "Programmer's Manual" +.TH NTP-KEYGEN 1 2010-12-17 "(ntp 4.2.6p3-RC11)" "Programmer's Manual" .\" EDIT THIS FILE WITH CAUTION (ntp-keygen.1) .\" -.\" It has been AutoGen-ed November 27, 2010 at 11:51:52 PM by AutoGen 5.11.3 +.\" It has been AutoGen-ed December 17, 2010 at 01:51:04 AM by AutoGen 5.11.6pre3 .\" From the definitions ntp-keygen-opts.def .\" and the template file agman1.tpl .\"