summaryrefslogtreecommitdiff
path: root/ntpsnmpd/ntpsnmpd-opts.c
diff options
context:
space:
mode:
Diffstat (limited to 'ntpsnmpd/ntpsnmpd-opts.c')
-rw-r--r--ntpsnmpd/ntpsnmpd-opts.c158
1 files changed, 80 insertions, 78 deletions
diff --git a/ntpsnmpd/ntpsnmpd-opts.c b/ntpsnmpd/ntpsnmpd-opts.c
index f5dc900..7e0d34c 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 2, 2014 at 08:58:13 AM by AutoGen 5.18.5pre4
+ * It has been AutoGen-ed April 7, 2015 at 04:27:12 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+318)
+#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[1560] =
-/* 0 */ "ntpsnmpd 4.2.7p482\n"
- "Copyright (C) 1970-2014 The University of Delaware, all rights reserved.\n"
+static char const ntpsnmpd_opt_strs[1610] =
+/* 0 */ "ntpsnmpd 4.2.8p2\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"
" <http://ntp.org/license>\n"
" <http://opensource.org/licenses/ntp-license.php>\n\0"
-/* 318 */ "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"
-/* 958 */ "Do not fork\0"
-/* 970 */ "NOFORK\0"
-/* 977 */ "nofork\0"
-/* 984 */ "Log to syslog()\0"
-/* 1000 */ "SYSLOG\0"
-/* 1007 */ "syslog\0"
-/* 1014 */ "The socket address ntpsnmpd uses to connect to net-snmpd\0"
-/* 1071 */ "AGENTXSOCKET\0"
-/* 1084 */ "agentxsocket\0"
-/* 1097 */ "unix:/var/agentx/master\0"
-/* 1121 */ "display extended usage information and exit\0"
-/* 1165 */ "help\0"
-/* 1170 */ "extended usage information passed thru pager\0"
-/* 1215 */ "more-help\0"
-/* 1225 */ "output version information and exit\0"
-/* 1261 */ "version\0"
-/* 1269 */ "save the option state to a config file\0"
-/* 1308 */ "save-opts\0"
-/* 1318 */ "load options from a config file\0"
-/* 1350 */ "LOAD_OPTS\0"
-/* 1360 */ "no-load-opts\0"
-/* 1373 */ "no\0"
-/* 1376 */ "NTPSNMPD\0"
-/* 1385 */ "ntpsnmpd - NTP SNMP MIB agent - Ver. 4.2.7p482\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.8p2\n"
"Usage: %s [ -<flag> [<val>] | --<name>[{=| }<val>] ]...\n\0"
-/* 1490 */ "$HOME\0"
-/* 1496 */ ".\0"
-/* 1498 */ ".ntprc\0"
-/* 1505 */ "http://bugs.ntp.org, bugs@ntp.org\0"
-/* 1539 */ "\n\0"
-/* 1541 */ "ntpsnmpd 4.2.7p482";
+/* 1542 */ "$HOME\0"
+/* 1548 */ ".\0"
+/* 1550 */ ".ntprc\0"
+/* 1557 */ "http://bugs.ntp.org, bugs@ntp.org\0"
+/* 1591 */ "\n\0"
+/* 1593 */ "ntpsnmpd 4.2.8p2";
/**
* nofork option description:
*/
/** Descriptive text for the nofork option */
-#define NOFORK_DESC (ntpsnmpd_opt_strs+958)
+#define NOFORK_DESC (ntpsnmpd_opt_strs+1012)
/** Upper-cased name for the nofork option */
-#define NOFORK_NAME (ntpsnmpd_opt_strs+970)
+#define NOFORK_NAME (ntpsnmpd_opt_strs+1024)
/** Name string for the nofork option */
-#define NOFORK_name (ntpsnmpd_opt_strs+977)
+#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[1560] =
* syslog option description:
*/
/** Descriptive text for the syslog option */
-#define SYSLOG_DESC (ntpsnmpd_opt_strs+984)
+#define SYSLOG_DESC (ntpsnmpd_opt_strs+1038)
/** Upper-cased name for the syslog option */
-#define SYSLOG_NAME (ntpsnmpd_opt_strs+1000)
+#define SYSLOG_NAME (ntpsnmpd_opt_strs+1054)
/** Name string for the syslog option */
-#define SYSLOG_name (ntpsnmpd_opt_strs+1007)
+#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[1560] =
* agentXSocket option description:
*/
/** Descriptive text for the agentXSocket option */
-#define AGENTXSOCKET_DESC (ntpsnmpd_opt_strs+1014)
+#define AGENTXSOCKET_DESC (ntpsnmpd_opt_strs+1068)
/** Upper-cased name for the agentXSocket option */
-#define AGENTXSOCKET_NAME (ntpsnmpd_opt_strs+1071)
+#define AGENTXSOCKET_NAME (ntpsnmpd_opt_strs+1125)
/** Name string for the agentXSocket option */
-#define AGENTXSOCKET_name (ntpsnmpd_opt_strs+1084)
+#define AGENTXSOCKET_name (ntpsnmpd_opt_strs+1138)
/** The compiled in default value for the agentXSocket option argument */
-#define AGENTXSOCKET_DFT_ARG (ntpsnmpd_opt_strs+1097)
+#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[1560] =
/*
* Help/More_Help/Version option descriptions:
*/
-#define HELP_DESC (ntpsnmpd_opt_strs+1121)
-#define HELP_name (ntpsnmpd_opt_strs+1165)
+#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+1170)
-#define MORE_HELP_name (ntpsnmpd_opt_strs+1215)
+#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[1560] =
# define VER_FLAGS (OPTST_SET_ARGTYPE(OPARG_TYPE_STRING) | \
OPTST_ARG_OPTIONAL | OPTST_IMM | OPTST_NO_INIT)
#endif
-#define VER_DESC (ntpsnmpd_opt_strs+1225)
-#define VER_name (ntpsnmpd_opt_strs+1261)
-#define SAVE_OPTS_DESC (ntpsnmpd_opt_strs+1269)
-#define SAVE_OPTS_name (ntpsnmpd_opt_strs+1308)
-#define LOAD_OPTS_DESC (ntpsnmpd_opt_strs+1318)
-#define LOAD_OPTS_NAME (ntpsnmpd_opt_strs+1350)
-#define NO_LOAD_OPTS_name (ntpsnmpd_opt_strs+1360)
-#define LOAD_OPTS_pfx (ntpsnmpd_opt_strs+1373)
+#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+1376)
+#define zPROGNAME (ntpsnmpd_opt_strs+1430)
/** Reference to the title line for ntpsnmpd usage. */
-#define zUsageTitle (ntpsnmpd_opt_strs+1385)
+#define zUsageTitle (ntpsnmpd_opt_strs+1439)
/** ntpsnmpd configuration file name. */
-#define zRcName (ntpsnmpd_opt_strs+1498)
+#define zRcName (ntpsnmpd_opt_strs+1550)
/** Directories to search for ntpsnmpd config files. */
static char const * const apzHomeList[3] = {
- ntpsnmpd_opt_strs+1490,
- ntpsnmpd_opt_strs+1496,
+ ntpsnmpd_opt_strs+1542,
+ ntpsnmpd_opt_strs+1548,
NULL };
/** The ntpsnmpd program bug email address. */
-#define zBugsAddr (ntpsnmpd_opt_strs+1505)
+#define zBugsAddr (ntpsnmpd_opt_strs+1557)
/** Clarification/explanation of what ntpsnmpd does. */
-#define zExplain (ntpsnmpd_opt_strs+1539)
+#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+1541)
+#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.7p482\n\
-Copyright (C) 1970-2014 The University of Delaware, all rights reserved.\n\
+ puts(_("ntpsnmpd 4.2.8p2\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.7p482\n\
+ puts(_("ntpsnmpd - NTP SNMP MIB agent - Ver. 4.2.8p2\n\
Usage: %s [ -<flag> [<val>] | --<name>[{=| }<val>] ]...\n"));
/* referenced via ntpsnmpdOptions.pzExplain */
puts(_("\n"));
/* referenced via ntpsnmpdOptions.pzFullVersion */
- puts(_("ntpsnmpd 4.2.7p482"));
+ puts(_("ntpsnmpd 4.2.8p2"));
/* referenced via ntpsnmpdOptions.pzFullUsage */
puts(_("<<<NOT-FOUND>>>"));