From bdc155d820701b79268465bcbdc9a9b9a7730a7e Mon Sep 17 00:00:00 2001 From: cy Date: Thu, 5 Feb 2015 20:53:33 +0000 Subject: Vendor import ntp-4.2.8p1. Approved by: roberto --- ntpsnmpd/ntpsnmpd-opts.c | 158 ++++++++++++++++++++++++----------------------- 1 file changed, 80 insertions(+), 78 deletions(-) (limited to 'ntpsnmpd/ntpsnmpd-opts.c') diff --git a/ntpsnmpd/ntpsnmpd-opts.c b/ntpsnmpd/ntpsnmpd-opts.c index 4877ffe..0f8622e 100644 --- a/ntpsnmpd/ntpsnmpd-opts.c +++ b/ntpsnmpd/ntpsnmpd-opts.c @@ -1,7 +1,7 @@ /* * EDIT THIS FILE WITH CAUTION (ntpsnmpd-opts.c) * - * It has been AutoGen-ed December 19, 2014 at 07:50:22 AM by AutoGen 5.18.5pre4 + * It has been AutoGen-ed February 4, 2015 at 02:43:22 AM by AutoGen 5.18.5pre4 * From the definitions ntpsnmpd-opts.def * and the template file options * @@ -18,7 +18,7 @@ * The ntpsnmpd program is copyrighted and licensed * under the following terms: * - * Copyright (C) 1970-2014 The University of Delaware, all rights reserved. + * Copyright (C) 1992-2015 The University of Delaware and Network Time Foundation, all rights reserved. * This is free software. It is licensed for use, modification and * redistribution under the terms of the NTP License, copies of which * can be seen at: @@ -31,7 +31,7 @@ * both the copyright notice and this permission notice appear in * supporting documentation, and that the name The University of Delaware not be used in * advertising or publicity pertaining to distribution of the software - * without specific, written prior permission. The University of Delaware makes no + * without specific, written prior permission. The University of Delaware and Network Time Foundation makes no * representations about the suitability this software for any purpose. It * is provided "as is" without express or implied warranty. */ @@ -50,7 +50,7 @@ extern "C" { #endif extern FILE * option_usage_fp; #define zCopyright (ntpsnmpd_opt_strs+0) -#define zLicenseDescrip (ntpsnmpd_opt_strs+314) +#define zLicenseDescrip (ntpsnmpd_opt_strs+344) #ifndef NULL @@ -60,64 +60,65 @@ extern FILE * option_usage_fp; /** * static const strings for ntpsnmpd options */ -static char const ntpsnmpd_opt_strs[1548] = -/* 0 */ "ntpsnmpd 4.2.8\n" - "Copyright (C) 1970-2014 The University of Delaware, all rights reserved.\n" +static char const ntpsnmpd_opt_strs[1610] = +/* 0 */ "ntpsnmpd 4.2.8p1\n" + "Copyright (C) 1992-2015 The University of Delaware and Network Time Foundation, all rights reserved.\n" "This is free software. It is licensed for use, modification and\n" "redistribution under the terms of the NTP License, copies of which\n" "can be seen at:\n" " \n" " \n\0" -/* 314 */ "Permission to use, copy, modify, and distribute this software and its\n" +/* 344 */ "Permission to use, copy, modify, and distribute this software and its\n" "documentation for any purpose with or without fee is hereby granted,\n" "provided that the above copyright notice appears in all copies and that\n" "both the copyright notice and this permission notice appear in supporting\n" "documentation, and that the name The University of Delaware not be used in\n" "advertising or publicity pertaining to distribution of the software without\n" - "specific, written prior permission. The University of Delaware makes no\n" - "representations about the suitability this software for any purpose. It is\n" - "provided \"as is\" without express or implied warranty.\n\0" -/* 954 */ "Do not fork\0" -/* 966 */ "NOFORK\0" -/* 973 */ "nofork\0" -/* 980 */ "Log to syslog()\0" -/* 996 */ "SYSLOG\0" -/* 1003 */ "syslog\0" -/* 1010 */ "The socket address ntpsnmpd uses to connect to net-snmpd\0" -/* 1067 */ "AGENTXSOCKET\0" -/* 1080 */ "agentxsocket\0" -/* 1093 */ "unix:/var/agentx/master\0" -/* 1117 */ "display extended usage information and exit\0" -/* 1161 */ "help\0" -/* 1166 */ "extended usage information passed thru pager\0" -/* 1211 */ "more-help\0" -/* 1221 */ "output version information and exit\0" -/* 1257 */ "version\0" -/* 1265 */ "save the option state to a config file\0" -/* 1304 */ "save-opts\0" -/* 1314 */ "load options from a config file\0" -/* 1346 */ "LOAD_OPTS\0" -/* 1356 */ "no-load-opts\0" -/* 1369 */ "no\0" -/* 1372 */ "NTPSNMPD\0" -/* 1381 */ "ntpsnmpd - NTP SNMP MIB agent - Ver. 4.2.8\n" + "specific, written prior permission. The University of Delaware and Network\n" + "Time Foundation makes no representations about the suitability this\n" + "software for any purpose. It is provided \"as is\" without express or\n" + "implied warranty.\n\0" +/* 1012 */ "Do not fork\0" +/* 1024 */ "NOFORK\0" +/* 1031 */ "nofork\0" +/* 1038 */ "Log to syslog()\0" +/* 1054 */ "SYSLOG\0" +/* 1061 */ "syslog\0" +/* 1068 */ "The socket address ntpsnmpd uses to connect to net-snmpd\0" +/* 1125 */ "AGENTXSOCKET\0" +/* 1138 */ "agentxsocket\0" +/* 1151 */ "unix:/var/agentx/master\0" +/* 1175 */ "display extended usage information and exit\0" +/* 1219 */ "help\0" +/* 1224 */ "extended usage information passed thru pager\0" +/* 1269 */ "more-help\0" +/* 1279 */ "output version information and exit\0" +/* 1315 */ "version\0" +/* 1323 */ "save the option state to a config file\0" +/* 1362 */ "save-opts\0" +/* 1372 */ "load options from a config file\0" +/* 1404 */ "LOAD_OPTS\0" +/* 1414 */ "no-load-opts\0" +/* 1427 */ "no\0" +/* 1430 */ "NTPSNMPD\0" +/* 1439 */ "ntpsnmpd - NTP SNMP MIB agent - Ver. 4.2.8p1\n" "Usage: %s [ - [] | --[{=| }] ]...\n\0" -/* 1482 */ "$HOME\0" -/* 1488 */ ".\0" -/* 1490 */ ".ntprc\0" -/* 1497 */ "http://bugs.ntp.org, bugs@ntp.org\0" -/* 1531 */ "\n\0" -/* 1533 */ "ntpsnmpd 4.2.8"; +/* 1542 */ "$HOME\0" +/* 1548 */ ".\0" +/* 1550 */ ".ntprc\0" +/* 1557 */ "http://bugs.ntp.org, bugs@ntp.org\0" +/* 1591 */ "\n\0" +/* 1593 */ "ntpsnmpd 4.2.8p1"; /** * nofork option description: */ /** Descriptive text for the nofork option */ -#define NOFORK_DESC (ntpsnmpd_opt_strs+954) +#define NOFORK_DESC (ntpsnmpd_opt_strs+1012) /** Upper-cased name for the nofork option */ -#define NOFORK_NAME (ntpsnmpd_opt_strs+966) +#define NOFORK_NAME (ntpsnmpd_opt_strs+1024) /** Name string for the nofork option */ -#define NOFORK_name (ntpsnmpd_opt_strs+973) +#define NOFORK_name (ntpsnmpd_opt_strs+1031) /** Compiled in flag settings for the nofork option */ #define NOFORK_FLAGS (OPTST_DISABLED) @@ -125,11 +126,11 @@ static char const ntpsnmpd_opt_strs[1548] = * syslog option description: */ /** Descriptive text for the syslog option */ -#define SYSLOG_DESC (ntpsnmpd_opt_strs+980) +#define SYSLOG_DESC (ntpsnmpd_opt_strs+1038) /** Upper-cased name for the syslog option */ -#define SYSLOG_NAME (ntpsnmpd_opt_strs+996) +#define SYSLOG_NAME (ntpsnmpd_opt_strs+1054) /** Name string for the syslog option */ -#define SYSLOG_name (ntpsnmpd_opt_strs+1003) +#define SYSLOG_name (ntpsnmpd_opt_strs+1061) /** Compiled in flag settings for the syslog option */ #define SYSLOG_FLAGS (OPTST_DISABLED) @@ -137,13 +138,13 @@ static char const ntpsnmpd_opt_strs[1548] = * agentXSocket option description: */ /** Descriptive text for the agentXSocket option */ -#define AGENTXSOCKET_DESC (ntpsnmpd_opt_strs+1010) +#define AGENTXSOCKET_DESC (ntpsnmpd_opt_strs+1068) /** Upper-cased name for the agentXSocket option */ -#define AGENTXSOCKET_NAME (ntpsnmpd_opt_strs+1067) +#define AGENTXSOCKET_NAME (ntpsnmpd_opt_strs+1125) /** Name string for the agentXSocket option */ -#define AGENTXSOCKET_name (ntpsnmpd_opt_strs+1080) +#define AGENTXSOCKET_name (ntpsnmpd_opt_strs+1138) /** The compiled in default value for the agentXSocket option argument */ -#define AGENTXSOCKET_DFT_ARG (ntpsnmpd_opt_strs+1093) +#define AGENTXSOCKET_DFT_ARG (ntpsnmpd_opt_strs+1151) /** Compiled in flag settings for the agentXSocket option */ #define AGENTXSOCKET_FLAGS (OPTST_DISABLED \ | OPTST_SET_ARGTYPE(OPARG_TYPE_STRING)) @@ -151,11 +152,11 @@ static char const ntpsnmpd_opt_strs[1548] = /* * Help/More_Help/Version option descriptions: */ -#define HELP_DESC (ntpsnmpd_opt_strs+1117) -#define HELP_name (ntpsnmpd_opt_strs+1161) +#define HELP_DESC (ntpsnmpd_opt_strs+1175) +#define HELP_name (ntpsnmpd_opt_strs+1219) #ifdef HAVE_WORKING_FORK -#define MORE_HELP_DESC (ntpsnmpd_opt_strs+1166) -#define MORE_HELP_name (ntpsnmpd_opt_strs+1211) +#define MORE_HELP_DESC (ntpsnmpd_opt_strs+1224) +#define MORE_HELP_name (ntpsnmpd_opt_strs+1269) #define MORE_HELP_FLAGS (OPTST_IMM | OPTST_NO_INIT) #else #define MORE_HELP_DESC HELP_DESC @@ -168,14 +169,14 @@ static char const ntpsnmpd_opt_strs[1548] = # define VER_FLAGS (OPTST_SET_ARGTYPE(OPARG_TYPE_STRING) | \ OPTST_ARG_OPTIONAL | OPTST_IMM | OPTST_NO_INIT) #endif -#define VER_DESC (ntpsnmpd_opt_strs+1221) -#define VER_name (ntpsnmpd_opt_strs+1257) -#define SAVE_OPTS_DESC (ntpsnmpd_opt_strs+1265) -#define SAVE_OPTS_name (ntpsnmpd_opt_strs+1304) -#define LOAD_OPTS_DESC (ntpsnmpd_opt_strs+1314) -#define LOAD_OPTS_NAME (ntpsnmpd_opt_strs+1346) -#define NO_LOAD_OPTS_name (ntpsnmpd_opt_strs+1356) -#define LOAD_OPTS_pfx (ntpsnmpd_opt_strs+1369) +#define VER_DESC (ntpsnmpd_opt_strs+1279) +#define VER_name (ntpsnmpd_opt_strs+1315) +#define SAVE_OPTS_DESC (ntpsnmpd_opt_strs+1323) +#define SAVE_OPTS_name (ntpsnmpd_opt_strs+1362) +#define LOAD_OPTS_DESC (ntpsnmpd_opt_strs+1372) +#define LOAD_OPTS_NAME (ntpsnmpd_opt_strs+1404) +#define NO_LOAD_OPTS_name (ntpsnmpd_opt_strs+1414) +#define LOAD_OPTS_pfx (ntpsnmpd_opt_strs+1427) #define LOAD_OPTS_name (NO_LOAD_OPTS_name + 3) /** * Declare option callback procedures @@ -300,24 +301,24 @@ static tOptDesc optDesc[OPTION_CT] = { /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ /** Reference to the upper cased version of ntpsnmpd. */ -#define zPROGNAME (ntpsnmpd_opt_strs+1372) +#define zPROGNAME (ntpsnmpd_opt_strs+1430) /** Reference to the title line for ntpsnmpd usage. */ -#define zUsageTitle (ntpsnmpd_opt_strs+1381) +#define zUsageTitle (ntpsnmpd_opt_strs+1439) /** ntpsnmpd configuration file name. */ -#define zRcName (ntpsnmpd_opt_strs+1490) +#define zRcName (ntpsnmpd_opt_strs+1550) /** Directories to search for ntpsnmpd config files. */ static char const * const apzHomeList[3] = { - ntpsnmpd_opt_strs+1482, - ntpsnmpd_opt_strs+1488, + ntpsnmpd_opt_strs+1542, + ntpsnmpd_opt_strs+1548, NULL }; /** The ntpsnmpd program bug email address. */ -#define zBugsAddr (ntpsnmpd_opt_strs+1497) +#define zBugsAddr (ntpsnmpd_opt_strs+1557) /** Clarification/explanation of what ntpsnmpd does. */ -#define zExplain (ntpsnmpd_opt_strs+1531) +#define zExplain (ntpsnmpd_opt_strs+1591) /** Extra detail explaining what ntpsnmpd does. */ #define zDetail (NULL) /** The full version string for ntpsnmpd. */ -#define zFullVersion (ntpsnmpd_opt_strs+1533) +#define zFullVersion (ntpsnmpd_opt_strs+1593) /* extracted from optcode.tlib near line 364 */ #if defined(ENABLE_NLS) @@ -553,8 +554,8 @@ static void bogus_function(void) { translate option names. */ /* referenced via ntpsnmpdOptions.pzCopyright */ - puts(_("ntpsnmpd 4.2.8\n\ -Copyright (C) 1970-2014 The University of Delaware, all rights reserved.\n\ + puts(_("ntpsnmpd 4.2.8p1\n\ +Copyright (C) 1992-2015 The University of Delaware and Network Time Foundation, all rights reserved.\n\ This is free software. It is licensed for use, modification and\n\ redistribution under the terms of the NTP License, copies of which\n\ can be seen at:\n")); @@ -568,9 +569,10 @@ provided that the above copyright notice appears in all copies and that\n\ both the copyright notice and this permission notice appear in supporting\n\ documentation, and that the name The University of Delaware not be used in\n\ advertising or publicity pertaining to distribution of the software without\n\ -specific, written prior permission. The University of Delaware makes no\n\ -representations about the suitability this software for any purpose. It is\n\ -provided \"as is\" without express or implied warranty.\n")); +specific, written prior permission. The University of Delaware and Network\n\ +Time Foundation makes no representations about the suitability this\n\ +software for any purpose. It is provided \"as is\" without express or\n\ +implied warranty.\n")); /* referenced via ntpsnmpdOptions.pOptDesc->pzText */ puts(_("Do not fork")); @@ -597,14 +599,14 @@ provided \"as is\" without express or implied warranty.\n")); puts(_("load options from a config file")); /* referenced via ntpsnmpdOptions.pzUsageTitle */ - puts(_("ntpsnmpd - NTP SNMP MIB agent - Ver. 4.2.8\n\ + puts(_("ntpsnmpd - NTP SNMP MIB agent - Ver. 4.2.8p1\n\ Usage: %s [ - [] | --[{=| }] ]...\n")); /* referenced via ntpsnmpdOptions.pzExplain */ puts(_("\n")); /* referenced via ntpsnmpdOptions.pzFullVersion */ - puts(_("ntpsnmpd 4.2.8")); + puts(_("ntpsnmpd 4.2.8p1")); /* referenced via ntpsnmpdOptions.pzFullUsage */ puts(_("<<>>")); -- cgit v1.1