ntp-keygen-opts.c (182007) | ntp-keygen-opts.c (200576) |
---|---|
1/* 2 * EDIT THIS FILE WITH CAUTION (ntp-keygen-opts.c) 3 * | 1/* 2 * EDIT THIS FILE WITH CAUTION (ntp-keygen-opts.c) 3 * |
4 * It has been AutoGen-ed Sunday August 17, 2008 at 05:27:33 AM EDT | 4 * It has been AutoGen-ed Tuesday December 8, 2009 at 08:14:56 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 source 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 source 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 28#include <limits.h> 29#include <stdio.h> 30#define OPTION_CODE_COMPILE 1 31#include "ntp-keygen-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#include <stdio.h> 30#define OPTION_CODE_COMPILE 1 31#include "ntp-keygen-opts.h" 32 33#ifdef __cplusplus 34extern "C" { 35#endif 36tSCC zCopyright[] = |
37 "ntp-keygen copyright (c) 1970-2008 David L. Mills and/or others, all rights reserved"; | 37 "ntp-keygen 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 --- 748 unchanged lines hidden (view full) --- 794}; 795 796/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 797 * 798 * Define the Ntp_Keygen Option Environment 799 */ 800tSCC zPROGNAME[] = "NTP_KEYGEN"; 801tSCC 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 --- 748 unchanged lines hidden (view full) --- 794}; 795 796/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 797 * 798 * Define the Ntp_Keygen Option Environment 799 */ 800tSCC zPROGNAME[] = "NTP_KEYGEN"; 801tSCC zUsageTitle[] = |
802"ntp-keygen (ntp) - Create a NTP host key - Ver. 4.2.4p5\n\ | 802"ntp-keygen (ntp) - Create a NTP host key - Ver. 4.2.4p8\n\ |
803USAGE: %s [ -<flag> [<val>] | --<name>[{=| }<val>] ]...\n"; 804tSCC zRcName[] = ".ntprc"; 805tSCC* apzHomeList[] = { 806 "$HOME", 807 ".", 808 NULL }; 809 | 803USAGE: %s [ -<flag> [<val>] | --<name>[{=| }<val>] ]...\n"; 804tSCC zRcName[] = ".ntprc"; 805tSCC* apzHomeList[] = { 806 "$HOME", 807 ".", 808 NULL }; 809 |
810tSCC zBugsAddr[] = "http://bugs.ntp.isc.org, bugs@ntp.org"; | 810tSCC zBugsAddr[] = "http://bugs.ntp.org, bugs@ntp.org"; |
811#define zExplain NULL 812tSCC zDetail[] = "\n\ 813If there is no new host key, look for an existing one.\n\ 814If one is not found, create it.\n"; 815tSCC zFullVersion[] = NTP_KEYGEN_FULL_VERSION; | 811#define zExplain NULL 812tSCC zDetail[] = "\n\ 813If there is no new host key, look for an existing one.\n\ 814If one is not found, create it.\n"; 815tSCC zFullVersion[] = NTP_KEYGEN_FULL_VERSION; |
816/* extracted from /usr/local/gnu/share/autogen/optcode.tpl near line 408 */ | 816/* extracted from /usr/local/gnu/autogen-5.9.1/share/autogen/optcode.tpl near line 408 */ |
817 818#if defined(ENABLE_NLS) 819# define OPTPROC_BASE OPTPROC_TRANSLATE 820 static tOptionXlateProc translate_option_strings; 821#else 822# define OPTPROC_BASE OPTPROC_NONE 823# define translate_option_strings NULL 824#endif /* ENABLE_NLS */ --- 107 unchanged lines hidden (view full) --- 932 /* NOTREACHED */ 933 return; 934 935 valid_return: 936 pOptDesc->optArg.argInt = val; 937} 938#endif /* defined OPENSSL */ 939 | 817 818#if defined(ENABLE_NLS) 819# define OPTPROC_BASE OPTPROC_TRANSLATE 820 static tOptionXlateProc translate_option_strings; 821#else 822# define OPTPROC_BASE OPTPROC_NONE 823# define translate_option_strings NULL 824#endif /* ENABLE_NLS */ --- 107 unchanged lines hidden (view full) --- 932 /* NOTREACHED */ 933 return; 934 935 valid_return: 936 pOptDesc->optArg.argInt = val; 937} 938#endif /* defined OPENSSL */ 939 |
940/* extracted from /usr/local/gnu/share/autogen/optmain.tpl near line 92 */ | 940/* extracted from /usr/local/gnu/autogen-5.9.1/share/autogen/optmain.tpl near line 92 */ |
941 942#if defined(TEST_NTP_KEYGEN_OPTS) /* TEST MAIN PROCEDURE: */ 943 944int 945main( int argc, char** argv ) 946{ 947 int res = EXIT_SUCCESS; 948 (void)optionProcess( &ntp_keygenOptions, argc, argv ); 949 { 950 void optionPutShell( tOptions* ); 951 optionPutShell( &ntp_keygenOptions ); 952 } 953 return res; 954} 955#endif /* defined TEST_NTP_KEYGEN_OPTS */ | 941 942#if defined(TEST_NTP_KEYGEN_OPTS) /* TEST MAIN PROCEDURE: */ 943 944int 945main( int argc, char** argv ) 946{ 947 int res = EXIT_SUCCESS; 948 (void)optionProcess( &ntp_keygenOptions, argc, argv ); 949 { 950 void optionPutShell( tOptions* ); 951 optionPutShell( &ntp_keygenOptions ); 952 } 953 return res; 954} 955#endif /* defined TEST_NTP_KEYGEN_OPTS */ |
956/* extracted from /usr/local/gnu/share/autogen/optcode.tpl near line 514 */ | 956/* extracted from /usr/local/gnu/autogen-5.9.1/share/autogen/optcode.tpl near line 514 */ |
957 958#if ENABLE_NLS 959#include <stdio.h> 960#include <stdlib.h> 961#include <string.h> 962#include <unistd.h> 963#include <autoopts/usage-txt.h> 964 --- 80 unchanged lines hidden --- | 957 958#if ENABLE_NLS 959#include <stdio.h> 960#include <stdlib.h> 961#include <string.h> 962#include <unistd.h> 963#include <autoopts/usage-txt.h> 964 --- 80 unchanged lines hidden --- |