Deleted Added
full compact
ntpd-opts.c (182007) ntpd-opts.c (200576)
1/*
2 * EDIT THIS FILE WITH CAUTION (ntpd-opts.c)
3 *
1/*
2 * EDIT THIS FILE WITH CAUTION (ntpd-opts.c)
3 *
4 * It has been AutoGen-ed Sunday August 17, 2008 at 05:20:10 AM EDT
4 * It has been AutoGen-ed Tuesday December 8, 2009 at 08:13:10 AM EST
5 * From the definitions ntpd-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 source file is not encumbered by AutoOpts
14 * licensing, but is provided under the licensing terms chosen by the
15 * ntpd 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 ntpd-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 source file is not encumbered by AutoOpts
14 * licensing, but is provided under the licensing terms chosen by the
15 * ntpd 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 * ntpd copyright 1970-2008 David L. Mills and/or others - all rights reserved
22 * ntpd copyright 1970-2009 David L. Mills and/or others - all rights reserved
23 *
24 * see html/copyright.html
25 */
26
27
28#include <limits.h>
29
30#define OPTION_CODE_COMPILE 1
31#include "ntpd-opts.h"
32
33#ifdef __cplusplus
34extern "C" {
35#endif
36tSCC zCopyright[] =
23 *
24 * see html/copyright.html
25 */
26
27
28#include <limits.h>
29
30#define OPTION_CODE_COMPILE 1
31#include "ntpd-opts.h"
32
33#ifdef __cplusplus
34extern "C" {
35#endif
36tSCC zCopyright[] =
37 "ntpd copyright (c) 1970-2008 David L. Mills and/or others, all rights reserved";
37 "ntpd copyright (c) 1970-2009 David L. Mills and/or others, all rights reserved";
38tSCC zCopyrightNotice[] =
39
40/* extracted from ../include/copyright.def near line 8 */
41"see html/copyright.html";
42extern tUsageProc optionUsage;
43
44/*
45 * global included definitions

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

830};
831
832/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
833 *
834 * Define the Ntpd Option Environment
835 */
836tSCC zPROGNAME[] = "NTPD";
837tSCC zUsageTitle[] =
38tSCC zCopyrightNotice[] =
39
40/* extracted from ../include/copyright.def near line 8 */
41"see html/copyright.html";
42extern tUsageProc optionUsage;
43
44/*
45 * global included definitions

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

830};
831
832/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
833 *
834 * Define the Ntpd Option Environment
835 */
836tSCC zPROGNAME[] = "NTPD";
837tSCC zUsageTitle[] =
838"ntpd - NTP daemon program - Ver. 4.2.4p5\n\
838"ntpd - NTP daemon program - Ver. 4.2.4p8\n\
839USAGE: %s [ -<flag> [<val>] | --<name>[{=| }<val>] ]...\n";
840#define zRcName NULL
841#define apzHomeList NULL
842
839USAGE: %s [ -<flag> [<val>] | --<name>[{=| }<val>] ]...\n";
840#define zRcName NULL
841#define apzHomeList NULL
842
843tSCC zBugsAddr[] = "http://bugs.ntp.isc.org, bugs@ntp.org";
843tSCC zBugsAddr[] = "http://bugs.ntp.org, bugs@ntp.org";
844#define zExplain NULL
845tSCC zDetail[] = "\n\n";
846tSCC zFullVersion[] = NTPD_FULL_VERSION;
844#define zExplain NULL
845tSCC zDetail[] = "\n\n";
846tSCC zFullVersion[] = NTPD_FULL_VERSION;
847/* extracted from /usr/local/gnu/share/autogen/optcode.tpl near line 408 */
847/* extracted from /usr/local/gnu/autogen-5.9.1/share/autogen/optcode.tpl near line 408 */
848
849#if defined(ENABLE_NLS)
850# define OPTPROC_BASE OPTPROC_TRANSLATE
851 static tOptionXlateProc translate_option_strings;
852#else
853# define OPTPROC_BASE OPTPROC_NONE
854# define translate_option_strings NULL
855#endif /* ENABLE_NLS */

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

909{
910 /* extracted from ../include/debug-opt.def, line 29 */
911DESC(DEBUG_LEVEL).optOccCt = atoi( pOptDesc->pzLastArg );
912}
913#endif /* defined DEBUG */
914
915#endif /* defined(TEST_NTPD_OPTS) */
916
848
849#if defined(ENABLE_NLS)
850# define OPTPROC_BASE OPTPROC_TRANSLATE
851 static tOptionXlateProc translate_option_strings;
852#else
853# define OPTPROC_BASE OPTPROC_NONE
854# define translate_option_strings NULL
855#endif /* ENABLE_NLS */

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

909{
910 /* extracted from ../include/debug-opt.def, line 29 */
911DESC(DEBUG_LEVEL).optOccCt = atoi( pOptDesc->pzLastArg );
912}
913#endif /* defined DEBUG */
914
915#endif /* defined(TEST_NTPD_OPTS) */
916
917/* extracted from /usr/local/gnu/share/autogen/optmain.tpl near line 92 */
917/* extracted from /usr/local/gnu/autogen-5.9.1/share/autogen/optmain.tpl near line 92 */
918
919#if defined(TEST_NTPD_OPTS) /* TEST MAIN PROCEDURE: */
920
921int
922main( int argc, char** argv )
923{
924 int res = EXIT_SUCCESS;
925 (void)optionProcess( &ntpdOptions, argc, argv );
926 {
927 void optionPutShell( tOptions* );
928 optionPutShell( &ntpdOptions );
929 }
930 return res;
931}
932#endif /* defined TEST_NTPD_OPTS */
918
919#if defined(TEST_NTPD_OPTS) /* TEST MAIN PROCEDURE: */
920
921int
922main( int argc, char** argv )
923{
924 int res = EXIT_SUCCESS;
925 (void)optionProcess( &ntpdOptions, argc, argv );
926 {
927 void optionPutShell( tOptions* );
928 optionPutShell( &ntpdOptions );
929 }
930 return res;
931}
932#endif /* defined TEST_NTPD_OPTS */
933/* extracted from /usr/local/gnu/share/autogen/optcode.tpl near line 514 */
933/* extracted from /usr/local/gnu/autogen-5.9.1/share/autogen/optcode.tpl near line 514 */
934
935#if ENABLE_NLS
936#include <stdio.h>
937#include <stdlib.h>
938#include <string.h>
939#include <unistd.h>
940#include <autoopts/usage-txt.h>
941

--- 80 unchanged lines hidden ---
934
935#if ENABLE_NLS
936#include <stdio.h>
937#include <stdlib.h>
938#include <string.h>
939#include <unistd.h>
940#include <autoopts/usage-txt.h>
941

--- 80 unchanged lines hidden ---