summaryrefslogtreecommitdiff
path: root/src/serv-args.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/serv-args.c')
-rw-r--r--src/serv-args.c1398
1 files changed, 1019 insertions, 379 deletions
diff --git a/src/serv-args.c b/src/serv-args.c
index 61e4221664..dce96ac025 100644
--- a/src/serv-args.c
+++ b/src/serv-args.c
@@ -1,12 +1,12 @@
/* -*- buffer-read-only: t -*- vi: set ro:
- *
+ *
* DO NOT EDIT THIS FILE (serv-args.c)
- *
- * It has been AutoGen-ed November 8, 2012 at 11:35:50 PM by AutoGen 5.16
+ *
+ * It has been AutoGen-ed May 29, 2013 at 07:49:17 PM by AutoGen 5.17.3
* From the definitions serv-args.def
* and the template file options
*
- * Generated from AutoOpts 36:4:11 templates.
+ * Generated from AutoOpts 38:0:13 templates.
*
* AutoOpts is a copyrighted work. This source file is not encumbered
* by AutoOpts licensing, but is provided under the licensing terms chosen
@@ -21,20 +21,19 @@
*
* Copyright (C) 2000-2012 Free Software Foundation, all rights reserved.
* This is free software. It is licensed for use, modification and
- * redistribution under the terms of the
- * GNU General Public License, version 3 or later
- * <http://gnu.org/licenses/gpl.html>
+ * redistribution under the terms of the GNU General Public License,
+ * version 3 or later <http://gnu.org/licenses/gpl.html>
*
* gnutls-serv is free software: you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
- *
+ *
* gnutls-serv is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU General Public License for more details.
- *
+ *
* You should have received a copy of the GNU General Public License along
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
@@ -53,28 +52,24 @@
extern "C" {
#endif
extern FILE * option_usage_fp;
-
-/* TRANSLATORS: choose the translation for option names wisely because you
- cannot ever change your mind. */
#define zCopyright (gnutls_serv_opt_strs+0)
-#define zLicenseDescrip (gnutls_serv_opt_strs+282)
+#define zLicenseDescrip (gnutls_serv_opt_strs+278)
#ifndef NULL
# define NULL 0
#endif
-/*
- * gnutls-serv option static const strings
+/**
+ * static const strings for gnutls-serv options
*/
-static char const gnutls_serv_opt_strs[3106] =
+static char const gnutls_serv_opt_strs[3083] =
/* 0 */ "gnutls-serv @VERSION@\n"
"Copyright (C) 2000-2012 Free Software Foundation, all rights reserved.\n"
"This is free software. It is licensed for use, modification and\n"
- "redistribution under the terms of the\n"
- "GNU General Public License, version 3 or later\n"
- " <http://gnu.org/licenses/gpl.html>\n\0"
-/* 282 */ "gnutls-serv is free software: you can redistribute it and/or modify it\n"
+ "redistribution under the terms of the GNU General Public License,\n"
+ "version 3 or later <http://gnu.org/licenses/gpl.html>\n\0"
+/* 278 */ "gnutls-serv is free software: you can redistribute it and/or modify it\n"
"under the terms of the GNU General Public License as published by the Free\n"
"Software Foundation, either version 3 of the License, or (at your option)\n"
"any later version.\n\n"
@@ -84,437 +79,576 @@ static char const gnutls_serv_opt_strs[3106] =
"more details.\n\n"
"You should have received a copy of the GNU General Public License along\n"
"with this program. If not, see <http://www.gnu.org/licenses/>.\n\0"
-/* 893 */ "Enable debugging.\0"
-/* 911 */ "DEBUG\0"
-/* 917 */ "debug\0"
-/* 923 */ "Don't accept session tickets\0"
-/* 952 */ "NOTICKET\0"
-/* 961 */ "noticket\0"
-/* 970 */ "Generate Diffie-Hellman and RSA-export parameters\0"
-/* 1020 */ "GENERATE\0"
-/* 1029 */ "generate\0"
-/* 1038 */ "Suppress some messages\0"
-/* 1061 */ "QUIET\0"
-/* 1067 */ "quiet\0"
-/* 1073 */ "Do not use a resumption database\0"
-/* 1106 */ "NODB\0"
-/* 1111 */ "nodb\0"
-/* 1116 */ "Act as an HTTP server\0"
-/* 1138 */ "HTTP\0"
-/* 1143 */ "http\0"
-/* 1148 */ "Act as an Echo server\0"
-/* 1170 */ "ECHO\0"
-/* 1175 */ "echo\0"
-/* 1180 */ "Use DTLS (datagram TLS) over UDP\0"
-/* 1213 */ "UDP\0"
-/* 1217 */ "udp\0"
-/* 1221 */ "Set MTU for datagram TLS\0"
-/* 1246 */ "MTU\0"
-/* 1250 */ "mtu\0"
-/* 1254 */ "Offer SRTP profiles\0"
-/* 1274 */ "SRTP_PROFILES\0"
-/* 1288 */ "srtp-profiles\0"
-/* 1302 */ "Do not request a client certificate\0"
-/* 1338 */ "DISABLE_CLIENT_CERT\0"
-/* 1358 */ "disable-client-cert\0"
-/* 1378 */ "Require a client certificate\0"
-/* 1407 */ "REQUIRE_CLIENT_CERT\0"
-/* 1427 */ "require-client-cert\0"
-/* 1447 */ "Activate heartbeat support\0"
-/* 1474 */ "HEARTBEAT\0"
-/* 1484 */ "heartbeat\0"
-/* 1494 */ "Use DER format for certificates to read from\0"
-/* 1539 */ "X509FMTDER\0"
-/* 1550 */ "x509fmtder\0"
-/* 1561 */ "Priorities string\0"
-/* 1579 */ "PRIORITY\0"
-/* 1588 */ "priority\0"
-/* 1597 */ "DH params file to use\0"
-/* 1619 */ "DHPARAMS\0"
-/* 1628 */ "dhparams\0"
-/* 1637 */ "Certificate file or PKCS #11 URL to use\0"
-/* 1677 */ "X509CAFILE\0"
-/* 1688 */ "x509cafile\0"
-/* 1699 */ "CRL file to use\0"
-/* 1715 */ "X509CRLFILE\0"
-/* 1727 */ "x509crlfile\0"
-/* 1739 */ "PGP Key file to use\0"
-/* 1759 */ "PGPKEYFILE\0"
-/* 1770 */ "pgpkeyfile\0"
-/* 1781 */ "PGP Key ring file to use\0"
-/* 1806 */ "PGPKEYRING\0"
-/* 1817 */ "pgpkeyring\0"
-/* 1828 */ "PGP Public Key (certificate) file to use\0"
-/* 1869 */ "PGPCERTFILE\0"
-/* 1881 */ "pgpcertfile\0"
-/* 1893 */ "X.509 key file or PKCS #11 URL to use\0"
-/* 1931 */ "X509KEYFILE\0"
-/* 1943 */ "x509keyfile\0"
-/* 1955 */ "X.509 Certificate file or PKCS #11 URL to use\0"
-/* 2001 */ "X509CERTFILE\0"
-/* 2014 */ "x509certfile\0"
-/* 2027 */ "Alternative X.509 key file or PKCS #11 URL to use\0"
-/* 2077 */ "X509DSAKEYFILE\0"
-/* 2092 */ "x509dsakeyfile\0"
-/* 2107 */ "Alternative X.509 Certificate file or PKCS #11 URL to use\0"
-/* 2165 */ "X509DSACERTFILE\0"
-/* 2181 */ "x509dsacertfile\0"
-/* 2197 */ "X509ECCKEYFILE\0"
-/* 2212 */ "x509ecckeyfile\0"
-/* 2227 */ "X509ECCCERTFILE\0"
-/* 2243 */ "x509ecccertfile\0"
-/* 2259 */ "PGP subkey to use (hex or auto)\0"
-/* 2291 */ "PGPSUBKEY\0"
-/* 2301 */ "pgpsubkey\0"
-/* 2311 */ "SRP password file to use\0"
-/* 2336 */ "SRPPASSWD\0"
-/* 2346 */ "srppasswd\0"
-/* 2356 */ "SRP password configuration file to use\0"
-/* 2395 */ "SRPPASSWDCONF\0"
-/* 2409 */ "srppasswdconf\0"
-/* 2423 */ "PSK password file to use\0"
-/* 2448 */ "PSKPASSWD\0"
-/* 2458 */ "pskpasswd\0"
-/* 2468 */ "PSK identity hint to use\0"
-/* 2493 */ "PSKHINT\0"
-/* 2501 */ "pskhint\0"
-/* 2509 */ "The OCSP response to send to client\0"
-/* 2545 */ "OCSP_RESPONSE\0"
-/* 2559 */ "ocsp-response\0"
-/* 2573 */ "The port to connect to\0"
-/* 2596 */ "PORT\0"
-/* 2601 */ "port\0"
-/* 2606 */ "Print a list of the supported algorithms and modes\0"
-/* 2657 */ "LIST\0"
-/* 2662 */ "list\0"
-/* 2667 */ "Display extended usage information and exit\0"
-/* 2711 */ "help\0"
-/* 2716 */ "Extended usage information passed thru pager\0"
-/* 2761 */ "more-help\0"
-/* 2771 */ "Output version information and exit\0"
-/* 2807 */ "version\0"
-/* 2815 */ "GNUTLS_SERV\0"
-/* 2827 */ "gnutls-serv - GnuTLS server - Ver. @VERSION@\n"
- "USAGE: %s [ -<flag> [<val>] | --<name>[{=| }<val>] ]...\n\0"
-/* 2930 */ "bug-gnutls@gnu.org\0"
-/* 2949 */ "\n\n\0"
-/* 2952 */ "\n"
- "Server program that listens to incoming TLS connections.\n\0"
-/* 3011 */ "gnutls-serv @VERSION@\0"
-/* 3033 */ "Usage: gnutls-serv [options]\n"
+/* 889 */ "Enable debugging.\0"
+/* 907 */ "DEBUG\0"
+/* 913 */ "debug\0"
+/* 919 */ "Don't accept session tickets\0"
+/* 948 */ "NOTICKET\0"
+/* 957 */ "noticket\0"
+/* 966 */ "Generate Diffie-Hellman and RSA-export parameters\0"
+/* 1016 */ "GENERATE\0"
+/* 1025 */ "generate\0"
+/* 1034 */ "Suppress some messages\0"
+/* 1057 */ "QUIET\0"
+/* 1063 */ "quiet\0"
+/* 1069 */ "Do not use a resumption database\0"
+/* 1102 */ "NODB\0"
+/* 1107 */ "nodb\0"
+/* 1112 */ "Act as an HTTP server\0"
+/* 1134 */ "HTTP\0"
+/* 1139 */ "http\0"
+/* 1144 */ "Act as an Echo server\0"
+/* 1166 */ "ECHO\0"
+/* 1171 */ "echo\0"
+/* 1176 */ "Use DTLS (datagram TLS) over UDP\0"
+/* 1209 */ "UDP\0"
+/* 1213 */ "udp\0"
+/* 1217 */ "Set MTU for datagram TLS\0"
+/* 1242 */ "MTU\0"
+/* 1246 */ "mtu\0"
+/* 1250 */ "Offer SRTP profiles\0"
+/* 1270 */ "SRTP_PROFILES\0"
+/* 1284 */ "srtp-profiles\0"
+/* 1298 */ "Do not request a client certificate\0"
+/* 1334 */ "DISABLE_CLIENT_CERT\0"
+/* 1354 */ "disable-client-cert\0"
+/* 1374 */ "Require a client certificate\0"
+/* 1403 */ "REQUIRE_CLIENT_CERT\0"
+/* 1423 */ "require-client-cert\0"
+/* 1443 */ "Activate heartbeat support\0"
+/* 1470 */ "HEARTBEAT\0"
+/* 1480 */ "heartbeat\0"
+/* 1490 */ "Use DER format for certificates to read from\0"
+/* 1535 */ "X509FMTDER\0"
+/* 1546 */ "x509fmtder\0"
+/* 1557 */ "Priorities string\0"
+/* 1575 */ "PRIORITY\0"
+/* 1584 */ "priority\0"
+/* 1593 */ "DH params file to use\0"
+/* 1615 */ "DHPARAMS\0"
+/* 1624 */ "dhparams\0"
+/* 1633 */ "Certificate file or PKCS #11 URL to use\0"
+/* 1673 */ "X509CAFILE\0"
+/* 1684 */ "x509cafile\0"
+/* 1695 */ "CRL file to use\0"
+/* 1711 */ "X509CRLFILE\0"
+/* 1723 */ "x509crlfile\0"
+/* 1735 */ "PGP Key file to use\0"
+/* 1755 */ "PGPKEYFILE\0"
+/* 1766 */ "pgpkeyfile\0"
+/* 1777 */ "PGP Key ring file to use\0"
+/* 1802 */ "PGPKEYRING\0"
+/* 1813 */ "pgpkeyring\0"
+/* 1824 */ "PGP Public Key (certificate) file to use\0"
+/* 1865 */ "PGPCERTFILE\0"
+/* 1877 */ "pgpcertfile\0"
+/* 1889 */ "X.509 key file or PKCS #11 URL to use\0"
+/* 1927 */ "X509KEYFILE\0"
+/* 1939 */ "x509keyfile\0"
+/* 1951 */ "X.509 Certificate file or PKCS #11 URL to use\0"
+/* 1997 */ "X509CERTFILE\0"
+/* 2010 */ "x509certfile\0"
+/* 2023 */ "Alternative X.509 key file or PKCS #11 URL to use\0"
+/* 2073 */ "X509DSAKEYFILE\0"
+/* 2088 */ "x509dsakeyfile\0"
+/* 2103 */ "Alternative X.509 Certificate file or PKCS #11 URL to use\0"
+/* 2161 */ "X509DSACERTFILE\0"
+/* 2177 */ "x509dsacertfile\0"
+/* 2193 */ "X509ECCKEYFILE\0"
+/* 2208 */ "x509ecckeyfile\0"
+/* 2223 */ "X509ECCCERTFILE\0"
+/* 2239 */ "x509ecccertfile\0"
+/* 2255 */ "PGP subkey to use (hex or auto)\0"
+/* 2287 */ "PGPSUBKEY\0"
+/* 2297 */ "pgpsubkey\0"
+/* 2307 */ "SRP password file to use\0"
+/* 2332 */ "SRPPASSWD\0"
+/* 2342 */ "srppasswd\0"
+/* 2352 */ "SRP password configuration file to use\0"
+/* 2391 */ "SRPPASSWDCONF\0"
+/* 2405 */ "srppasswdconf\0"
+/* 2419 */ "PSK password file to use\0"
+/* 2444 */ "PSKPASSWD\0"
+/* 2454 */ "pskpasswd\0"
+/* 2464 */ "PSK identity hint to use\0"
+/* 2489 */ "PSKHINT\0"
+/* 2497 */ "pskhint\0"
+/* 2505 */ "The OCSP response to send to client\0"
+/* 2541 */ "OCSP_RESPONSE\0"
+/* 2555 */ "ocsp-response\0"
+/* 2569 */ "The port to connect to\0"
+/* 2592 */ "PORT\0"
+/* 2597 */ "port\0"
+/* 2602 */ "Print a list of the supported algorithms and modes\0"
+/* 2653 */ "LIST\0"
+/* 2658 */ "list\0"
+/* 2663 */ "display extended usage information and exit\0"
+/* 2707 */ "help\0"
+/* 2712 */ "extended usage information passed thru pager\0"
+/* 2757 */ "more-help\0"
+/* 2767 */ "output version information and exit\0"
+/* 2803 */ "version\0"
+/* 2811 */ "GNUTLS_SERV\0"
+/* 2823 */ "gnutls-serv - GnuTLS server\n"
+ "Usage: %s [ -<flag> [<val>] | --<name>[{=| }<val>] ]...\n\0"
+/* 2909 */ "bug-gnutls@gnu.org\0"
+/* 2928 */ "\n\0"
+/* 2930 */ "Server program that listens to incoming TLS connections.\n\0"
+/* 2988 */ "gnutls-serv @VERSION@\0"
+/* 3010 */ "Usage: gnutls-serv [options]\n"
"gnutls-serv --help for usage instructions.\n";
-/*
+/**
* debug option description:
*/
-#define DEBUG_DESC (gnutls_serv_opt_strs+893)
-#define DEBUG_NAME (gnutls_serv_opt_strs+911)
-#define DEBUG_name (gnutls_serv_opt_strs+917)
+/** Descriptive text for the debug option */
+#define DEBUG_DESC (gnutls_serv_opt_strs+889)
+/** Upper-cased name for the debug option */
+#define DEBUG_NAME (gnutls_serv_opt_strs+907)
+/** Name string for the debug option */
+#define DEBUG_name (gnutls_serv_opt_strs+913)
+/** Compiled in flag settings for the debug option */
#define DEBUG_FLAGS (OPTST_DISABLED \
| OPTST_SET_ARGTYPE(OPARG_TYPE_NUMERIC))
-/*
+/**
* noticket option description:
*/
-#define NOTICKET_DESC (gnutls_serv_opt_strs+923)
-#define NOTICKET_NAME (gnutls_serv_opt_strs+952)
-#define NOTICKET_name (gnutls_serv_opt_strs+961)
+/** Descriptive text for the noticket option */
+#define NOTICKET_DESC (gnutls_serv_opt_strs+919)
+/** Upper-cased name for the noticket option */
+#define NOTICKET_NAME (gnutls_serv_opt_strs+948)
+/** Name string for the noticket option */
+#define NOTICKET_name (gnutls_serv_opt_strs+957)
+/** Compiled in flag settings for the noticket option */
#define NOTICKET_FLAGS (OPTST_DISABLED)
-/*
+/**
* generate option description:
*/
-#define GENERATE_DESC (gnutls_serv_opt_strs+970)
-#define GENERATE_NAME (gnutls_serv_opt_strs+1020)
-#define GENERATE_name (gnutls_serv_opt_strs+1029)
+/** Descriptive text for the generate option */
+#define GENERATE_DESC (gnutls_serv_opt_strs+966)
+/** Upper-cased name for the generate option */
+#define GENERATE_NAME (gnutls_serv_opt_strs+1016)
+/** Name string for the generate option */
+#define GENERATE_name (gnutls_serv_opt_strs+1025)
+/** Compiled in flag settings for the generate option */
#define GENERATE_FLAGS (OPTST_DISABLED)
-/*
+/**
* quiet option description:
*/
-#define QUIET_DESC (gnutls_serv_opt_strs+1038)
-#define QUIET_NAME (gnutls_serv_opt_strs+1061)
-#define QUIET_name (gnutls_serv_opt_strs+1067)
+/** Descriptive text for the quiet option */
+#define QUIET_DESC (gnutls_serv_opt_strs+1034)
+/** Upper-cased name for the quiet option */
+#define QUIET_NAME (gnutls_serv_opt_strs+1057)
+/** Name string for the quiet option */
+#define QUIET_name (gnutls_serv_opt_strs+1063)
+/** Compiled in flag settings for the quiet option */
#define QUIET_FLAGS (OPTST_DISABLED)
-/*
+/**
* nodb option description:
*/
-#define NODB_DESC (gnutls_serv_opt_strs+1073)
-#define NODB_NAME (gnutls_serv_opt_strs+1106)
-#define NODB_name (gnutls_serv_opt_strs+1111)
+/** Descriptive text for the nodb option */
+#define NODB_DESC (gnutls_serv_opt_strs+1069)
+/** Upper-cased name for the nodb option */
+#define NODB_NAME (gnutls_serv_opt_strs+1102)
+/** Name string for the nodb option */
+#define NODB_name (gnutls_serv_opt_strs+1107)
+/** Compiled in flag settings for the nodb option */
#define NODB_FLAGS (OPTST_DISABLED)
-/*
+/**
* http option description:
*/
-#define HTTP_DESC (gnutls_serv_opt_strs+1116)
-#define HTTP_NAME (gnutls_serv_opt_strs+1138)
-#define HTTP_name (gnutls_serv_opt_strs+1143)
+/** Descriptive text for the http option */
+#define HTTP_DESC (gnutls_serv_opt_strs+1112)
+/** Upper-cased name for the http option */
+#define HTTP_NAME (gnutls_serv_opt_strs+1134)
+/** Name string for the http option */
+#define HTTP_name (gnutls_serv_opt_strs+1139)
+/** Compiled in flag settings for the http option */
#define HTTP_FLAGS (OPTST_DISABLED)
-/*
+/**
* echo option description:
*/
-#define ECHO_DESC (gnutls_serv_opt_strs+1148)
-#define ECHO_NAME (gnutls_serv_opt_strs+1170)
-#define ECHO_name (gnutls_serv_opt_strs+1175)
+/** Descriptive text for the echo option */
+#define ECHO_DESC (gnutls_serv_opt_strs+1144)
+/** Upper-cased name for the echo option */
+#define ECHO_NAME (gnutls_serv_opt_strs+1166)
+/** Name string for the echo option */
+#define ECHO_name (gnutls_serv_opt_strs+1171)
+/** Compiled in flag settings for the echo option */
#define ECHO_FLAGS (OPTST_DISABLED)
-/*
+/**
* udp option description:
*/
-#define UDP_DESC (gnutls_serv_opt_strs+1180)
-#define UDP_NAME (gnutls_serv_opt_strs+1213)
-#define UDP_name (gnutls_serv_opt_strs+1217)
+/** Descriptive text for the udp option */
+#define UDP_DESC (gnutls_serv_opt_strs+1176)
+/** Upper-cased name for the udp option */
+#define UDP_NAME (gnutls_serv_opt_strs+1209)
+/** Name string for the udp option */
+#define UDP_name (gnutls_serv_opt_strs+1213)
+/** Compiled in flag settings for the udp option */
#define UDP_FLAGS (OPTST_DISABLED)
-/*
+/**
* mtu option description:
*/
-#define MTU_DESC (gnutls_serv_opt_strs+1221)
-#define MTU_NAME (gnutls_serv_opt_strs+1246)
-#define MTU_name (gnutls_serv_opt_strs+1250)
+/** Descriptive text for the mtu option */
+#define MTU_DESC (gnutls_serv_opt_strs+1217)
+/** Upper-cased name for the mtu option */
+#define MTU_NAME (gnutls_serv_opt_strs+1242)
+/** Name string for the mtu option */
+#define MTU_name (gnutls_serv_opt_strs+1246)
+/** Compiled in flag settings for the mtu option */
#define MTU_FLAGS (OPTST_DISABLED \
| OPTST_SET_ARGTYPE(OPARG_TYPE_NUMERIC))
-/*
+/**
* srtp_profiles option description:
*/
-#define SRTP_PROFILES_DESC (gnutls_serv_opt_strs+1254)
-#define SRTP_PROFILES_NAME (gnutls_serv_opt_strs+1274)
-#define SRTP_PROFILES_name (gnutls_serv_opt_strs+1288)
+/** Descriptive text for the srtp_profiles option */
+#define SRTP_PROFILES_DESC (gnutls_serv_opt_strs+1250)
+/** Upper-cased name for the srtp_profiles option */
+#define SRTP_PROFILES_NAME (gnutls_serv_opt_strs+1270)
+/** Name string for the srtp_profiles option */
+#define SRTP_PROFILES_name (gnutls_serv_opt_strs+1284)
+/** Compiled in flag settings for the srtp_profiles option */
#define SRTP_PROFILES_FLAGS (OPTST_DISABLED \
| OPTST_SET_ARGTYPE(OPARG_TYPE_STRING))
-/*
+/**
* disable-client-cert option description:
*/
-#define DISABLE_CLIENT_CERT_DESC (gnutls_serv_opt_strs+1302)
-#define DISABLE_CLIENT_CERT_NAME (gnutls_serv_opt_strs+1338)
-#define DISABLE_CLIENT_CERT_name (gnutls_serv_opt_strs+1358)
+/** Descriptive text for the disable-client-cert option */
+#define DISABLE_CLIENT_CERT_DESC (gnutls_serv_opt_strs+1298)
+/** Upper-cased name for the disable-client-cert option */
+#define DISABLE_CLIENT_CERT_NAME (gnutls_serv_opt_strs+1334)
+/** Name string for the disable-client-cert option */
+#define DISABLE_CLIENT_CERT_name (gnutls_serv_opt_strs+1354)
+/** Compiled in flag settings for the disable-client-cert option */
#define DISABLE_CLIENT_CERT_FLAGS (OPTST_DISABLED)
-/*
+/**
* require-client-cert option description:
*/
-#define REQUIRE_CLIENT_CERT_DESC (gnutls_serv_opt_strs+1378)
-#define REQUIRE_CLIENT_CERT_NAME (gnutls_serv_opt_strs+1407)
-#define REQUIRE_CLIENT_CERT_name (gnutls_serv_opt_strs+1427)
+/** Descriptive text for the require-client-cert option */
+#define REQUIRE_CLIENT_CERT_DESC (gnutls_serv_opt_strs+1374)
+/** Upper-cased name for the require-client-cert option */
+#define REQUIRE_CLIENT_CERT_NAME (gnutls_serv_opt_strs+1403)
+/** Name string for the require-client-cert option */
+#define REQUIRE_CLIENT_CERT_name (gnutls_serv_opt_strs+1423)
+/** Compiled in flag settings for the require-client-cert option */
#define REQUIRE_CLIENT_CERT_FLAGS (OPTST_DISABLED)
-/*
+/**
* heartbeat option description:
*/
-#define HEARTBEAT_DESC (gnutls_serv_opt_strs+1447)
-#define HEARTBEAT_NAME (gnutls_serv_opt_strs+1474)
-#define HEARTBEAT_name (gnutls_serv_opt_strs+1484)
+/** Descriptive text for the heartbeat option */
+#define HEARTBEAT_DESC (gnutls_serv_opt_strs+1443)
+/** Upper-cased name for the heartbeat option */
+#define HEARTBEAT_NAME (gnutls_serv_opt_strs+1470)
+/** Name string for the heartbeat option */
+#define HEARTBEAT_name (gnutls_serv_opt_strs+1480)
+/** Compiled in flag settings for the heartbeat option */
#define HEARTBEAT_FLAGS (OPTST_DISABLED)
-/*
+/**
* x509fmtder option description:
*/
-#define X509FMTDER_DESC (gnutls_serv_opt_strs+1494)
-#define X509FMTDER_NAME (gnutls_serv_opt_strs+1539)
-#define X509FMTDER_name (gnutls_serv_opt_strs+1550)
+/** Descriptive text for the x509fmtder option */
+#define X509FMTDER_DESC (gnutls_serv_opt_strs+1490)
+/** Upper-cased name for the x509fmtder option */
+#define X509FMTDER_NAME (gnutls_serv_opt_strs+1535)
+/** Name string for the x509fmtder option */
+#define X509FMTDER_name (gnutls_serv_opt_strs+1546)
+/** Compiled in flag settings for the x509fmtder option */
#define X509FMTDER_FLAGS (OPTST_DISABLED)
-/*
+/**
* priority option description:
*/
-#define PRIORITY_DESC (gnutls_serv_opt_strs+1561)
-#define PRIORITY_NAME (gnutls_serv_opt_strs+1579)
-#define PRIORITY_name (gnutls_serv_opt_strs+1588)
+/** Descriptive text for the priority option */
+#define PRIORITY_DESC (gnutls_serv_opt_strs+1557)
+/** Upper-cased name for the priority option */
+#define PRIORITY_NAME (gnutls_serv_opt_strs+1575)
+/** Name string for the priority option */
+#define PRIORITY_name (gnutls_serv_opt_strs+1584)
+/** Compiled in flag settings for the priority option */
#define PRIORITY_FLAGS (OPTST_DISABLED \
| OPTST_SET_ARGTYPE(OPARG_TYPE_STRING))
-/*
+/**
* dhparams option description:
*/
-#define DHPARAMS_DESC (gnutls_serv_opt_strs+1597)
-#define DHPARAMS_NAME (gnutls_serv_opt_strs+1619)
-#define DHPARAMS_name (gnutls_serv_opt_strs+1628)
+/** Descriptive text for the dhparams option */
+#define DHPARAMS_DESC (gnutls_serv_opt_strs+1593)
+/** Upper-cased name for the dhparams option */
+#define DHPARAMS_NAME (gnutls_serv_opt_strs+1615)
+/** Name string for the dhparams option */
+#define DHPARAMS_name (gnutls_serv_opt_strs+1624)
+/** Compiled in flag settings for the dhparams option */
#define DHPARAMS_FLAGS (OPTST_DISABLED \
| OPTST_SET_ARGTYPE(OPARG_TYPE_FILE))
-/*
+/**
* x509cafile option description:
*/
-#define X509CAFILE_DESC (gnutls_serv_opt_strs+1637)
-#define X509CAFILE_NAME (gnutls_serv_opt_strs+1677)
-#define X509CAFILE_name (gnutls_serv_opt_strs+1688)
+/** Descriptive text for the x509cafile option */
+#define X509CAFILE_DESC (gnutls_serv_opt_strs+1633)
+/** Upper-cased name for the x509cafile option */
+#define X509CAFILE_NAME (gnutls_serv_opt_strs+1673)
+/** Name string for the x509cafile option */
+#define X509CAFILE_name (gnutls_serv_opt_strs+1684)
+/** Compiled in flag settings for the x509cafile option */
#define X509CAFILE_FLAGS (OPTST_DISABLED \
| OPTST_SET_ARGTYPE(OPARG_TYPE_STRING))
-/*
+/**
* x509crlfile option description:
*/
-#define X509CRLFILE_DESC (gnutls_serv_opt_strs+1699)
-#define X509CRLFILE_NAME (gnutls_serv_opt_strs+1715)
-#define X509CRLFILE_name (gnutls_serv_opt_strs+1727)
+/** Descriptive text for the x509crlfile option */
+#define X509CRLFILE_DESC (gnutls_serv_opt_strs+1695)
+/** Upper-cased name for the x509crlfile option */
+#define X509CRLFILE_NAME (gnutls_serv_opt_strs+1711)
+/** Name string for the x509crlfile option */
+#define X509CRLFILE_name (gnutls_serv_opt_strs+1723)
+/** Compiled in flag settings for the x509crlfile option */
#define X509CRLFILE_FLAGS (OPTST_DISABLED \
| OPTST_SET_ARGTYPE(OPARG_TYPE_FILE))
-/*
+/**
* pgpkeyfile option description:
*/
-#define PGPKEYFILE_DESC (gnutls_serv_opt_strs+1739)
-#define PGPKEYFILE_NAME (gnutls_serv_opt_strs+1759)
-#define PGPKEYFILE_name (gnutls_serv_opt_strs+1770)
+/** Descriptive text for the pgpkeyfile option */
+#define PGPKEYFILE_DESC (gnutls_serv_opt_strs+1735)
+/** Upper-cased name for the pgpkeyfile option */
+#define PGPKEYFILE_NAME (gnutls_serv_opt_strs+1755)
+/** Name string for the pgpkeyfile option */
+#define PGPKEYFILE_name (gnutls_serv_opt_strs+1766)
+/** Compiled in flag settings for the pgpkeyfile option */
#define PGPKEYFILE_FLAGS (OPTST_DISABLED \
| OPTST_SET_ARGTYPE(OPARG_TYPE_FILE))
-/*
+/**
* pgpkeyring option description:
*/
-#define PGPKEYRING_DESC (gnutls_serv_opt_strs+1781)
-#define PGPKEYRING_NAME (gnutls_serv_opt_strs+1806)
-#define PGPKEYRING_name (gnutls_serv_opt_strs+1817)
+/** Descriptive text for the pgpkeyring option */
+#define PGPKEYRING_DESC (gnutls_serv_opt_strs+1777)
+/** Upper-cased name for the pgpkeyring option */
+#define PGPKEYRING_NAME (gnutls_serv_opt_strs+1802)
+/** Name string for the pgpkeyring option */
+#define PGPKEYRING_name (gnutls_serv_opt_strs+1813)
+/** Compiled in flag settings for the pgpkeyring option */
#define PGPKEYRING_FLAGS (OPTST_DISABLED \
| OPTST_SET_ARGTYPE(OPARG_TYPE_FILE))
-/*
+/**
* pgpcertfile option description:
*/
-#define PGPCERTFILE_DESC (gnutls_serv_opt_strs+1828)
-#define PGPCERTFILE_NAME (gnutls_serv_opt_strs+1869)
-#define PGPCERTFILE_name (gnutls_serv_opt_strs+1881)
+/** Descriptive text for the pgpcertfile option */
+#define PGPCERTFILE_DESC (gnutls_serv_opt_strs+1824)
+/** Upper-cased name for the pgpcertfile option */
+#define PGPCERTFILE_NAME (gnutls_serv_opt_strs+1865)
+/** Name string for the pgpcertfile option */
+#define PGPCERTFILE_name (gnutls_serv_opt_strs+1877)
+/** Compiled in flag settings for the pgpcertfile option */
#define PGPCERTFILE_FLAGS (OPTST_DISABLED \
| OPTST_SET_ARGTYPE(OPARG_TYPE_FILE))
-/*
+/**
* x509keyfile option description:
*/
-#define X509KEYFILE_DESC (gnutls_serv_opt_strs+1893)
-#define X509KEYFILE_NAME (gnutls_serv_opt_strs+1931)
-#define X509KEYFILE_name (gnutls_serv_opt_strs+1943)
+/** Descriptive text for the x509keyfile option */
+#define X509KEYFILE_DESC (gnutls_serv_opt_strs+1889)
+/** Upper-cased name for the x509keyfile option */
+#define X509KEYFILE_NAME (gnutls_serv_opt_strs+1927)
+/** Name string for the x509keyfile option */
+#define X509KEYFILE_name (gnutls_serv_opt_strs+1939)
+/** Compiled in flag settings for the x509keyfile option */
#define X509KEYFILE_FLAGS (OPTST_DISABLED \
| OPTST_SET_ARGTYPE(OPARG_TYPE_STRING))
-/*
+/**
* x509certfile option description:
*/
-#define X509CERTFILE_DESC (gnutls_serv_opt_strs+1955)
-#define X509CERTFILE_NAME (gnutls_serv_opt_strs+2001)
-#define X509CERTFILE_name (gnutls_serv_opt_strs+2014)
+/** Descriptive text for the x509certfile option */
+#define X509CERTFILE_DESC (gnutls_serv_opt_strs+1951)
+/** Upper-cased name for the x509certfile option */
+#define X509CERTFILE_NAME (gnutls_serv_opt_strs+1997)
+/** Name string for the x509certfile option */
+#define X509CERTFILE_name (gnutls_serv_opt_strs+2010)
+/** Compiled in flag settings for the x509certfile option */
#define X509CERTFILE_FLAGS (OPTST_DISABLED \
| OPTST_SET_ARGTYPE(OPARG_TYPE_STRING))
-/*
+/**
* x509dsakeyfile option description:
*/
-#define X509DSAKEYFILE_DESC (gnutls_serv_opt_strs+2027)
-#define X509DSAKEYFILE_NAME (gnutls_serv_opt_strs+2077)
-#define X509DSAKEYFILE_name (gnutls_serv_opt_strs+2092)
+/** Descriptive text for the x509dsakeyfile option */
+#define X509DSAKEYFILE_DESC (gnutls_serv_opt_strs+2023)
+/** Upper-cased name for the x509dsakeyfile option */
+#define X509DSAKEYFILE_NAME (gnutls_serv_opt_strs+2073)
+/** Name string for the x509dsakeyfile option */
+#define X509DSAKEYFILE_name (gnutls_serv_opt_strs+2088)
+/** Compiled in flag settings for the x509dsakeyfile option */
#define X509DSAKEYFILE_FLAGS (OPTST_DISABLED \
| OPTST_SET_ARGTYPE(OPARG_TYPE_STRING))
-/*
+/**
* x509dsacertfile option description:
*/
-#define X509DSACERTFILE_DESC (gnutls_serv_opt_strs+2107)
-#define X509DSACERTFILE_NAME (gnutls_serv_opt_strs+2165)
-#define X509DSACERTFILE_name (gnutls_serv_opt_strs+2181)
+/** Descriptive text for the x509dsacertfile option */
+#define X509DSACERTFILE_DESC (gnutls_serv_opt_strs+2103)
+/** Upper-cased name for the x509dsacertfile option */
+#define X509DSACERTFILE_NAME (gnutls_serv_opt_strs+2161)
+/** Name string for the x509dsacertfile option */
+#define X509DSACERTFILE_name (gnutls_serv_opt_strs+2177)
+/** Compiled in flag settings for the x509dsacertfile option */
#define X509DSACERTFILE_FLAGS (OPTST_DISABLED \
| OPTST_SET_ARGTYPE(OPARG_TYPE_STRING))
-/*
+/**
* x509ecckeyfile option description:
*/
-#define X509ECCKEYFILE_DESC (gnutls_serv_opt_strs+2027)
-#define X509ECCKEYFILE_NAME (gnutls_serv_opt_strs+2197)
-#define X509ECCKEYFILE_name (gnutls_serv_opt_strs+2212)
+/** Descriptive text for the x509ecckeyfile option */
+#define X509ECCKEYFILE_DESC (gnutls_serv_opt_strs+2023)
+/** Upper-cased name for the x509ecckeyfile option */
+#define X509ECCKEYFILE_NAME (gnutls_serv_opt_strs+2193)
+/** Name string for the x509ecckeyfile option */
+#define X509ECCKEYFILE_name (gnutls_serv_opt_strs+2208)
+/** Compiled in flag settings for the x509ecckeyfile option */
#define X509ECCKEYFILE_FLAGS (OPTST_DISABLED \
| OPTST_SET_ARGTYPE(OPARG_TYPE_STRING))
-/*
+/**
* x509ecccertfile option description:
*/
-#define X509ECCCERTFILE_DESC (gnutls_serv_opt_strs+2107)
-#define X509ECCCERTFILE_NAME (gnutls_serv_opt_strs+2227)
-#define X509ECCCERTFILE_name (gnutls_serv_opt_strs+2243)
+/** Descriptive text for the x509ecccertfile option */
+#define X509ECCCERTFILE_DESC (gnutls_serv_opt_strs+2103)
+/** Upper-cased name for the x509ecccertfile option */
+#define X509ECCCERTFILE_NAME (gnutls_serv_opt_strs+2223)
+/** Name string for the x509ecccertfile option */
+#define X509ECCCERTFILE_name (gnutls_serv_opt_strs+2239)
+/** Compiled in flag settings for the x509ecccertfile option */
#define X509ECCCERTFILE_FLAGS (OPTST_DISABLED \
| OPTST_SET_ARGTYPE(OPARG_TYPE_STRING))
-/*
+/**
* pgpsubkey option description:
*/
-#define PGPSUBKEY_DESC (gnutls_serv_opt_strs+2259)
-#define PGPSUBKEY_NAME (gnutls_serv_opt_strs+2291)
-#define PGPSUBKEY_name (gnutls_serv_opt_strs+2301)
+/** Descriptive text for the pgpsubkey option */
+#define PGPSUBKEY_DESC (gnutls_serv_opt_strs+2255)
+/** Upper-cased name for the pgpsubkey option */
+#define PGPSUBKEY_NAME (gnutls_serv_opt_strs+2287)
+/** Name string for the pgpsubkey option */
+#define PGPSUBKEY_name (gnutls_serv_opt_strs+2297)
+/** Compiled in flag settings for the pgpsubkey option */
#define PGPSUBKEY_FLAGS (OPTST_DISABLED \
| OPTST_SET_ARGTYPE(OPARG_TYPE_STRING))
-/*
+/**
* srppasswd option description:
*/
-#define SRPPASSWD_DESC (gnutls_serv_opt_strs+2311)
-#define SRPPASSWD_NAME (gnutls_serv_opt_strs+2336)
-#define SRPPASSWD_name (gnutls_serv_opt_strs+2346)
+/** Descriptive text for the srppasswd option */
+#define SRPPASSWD_DESC (gnutls_serv_opt_strs+2307)
+/** Upper-cased name for the srppasswd option */
+#define SRPPASSWD_NAME (gnutls_serv_opt_strs+2332)
+/** Name string for the srppasswd option */
+#define SRPPASSWD_name (gnutls_serv_opt_strs+2342)
+/** Compiled in flag settings for the srppasswd option */
#define SRPPASSWD_FLAGS (OPTST_DISABLED \
| OPTST_SET_ARGTYPE(OPARG_TYPE_FILE))
-/*
+/**
* srppasswdconf option description:
*/
-#define SRPPASSWDCONF_DESC (gnutls_serv_opt_strs+2356)
-#define SRPPASSWDCONF_NAME (gnutls_serv_opt_strs+2395)
-#define SRPPASSWDCONF_name (gnutls_serv_opt_strs+2409)
+/** Descriptive text for the srppasswdconf option */
+#define SRPPASSWDCONF_DESC (gnutls_serv_opt_strs+2352)
+/** Upper-cased name for the srppasswdconf option */
+#define SRPPASSWDCONF_NAME (gnutls_serv_opt_strs+2391)
+/** Name string for the srppasswdconf option */
+#define SRPPASSWDCONF_name (gnutls_serv_opt_strs+2405)
+/** Compiled in flag settings for the srppasswdconf option */
#define SRPPASSWDCONF_FLAGS (OPTST_DISABLED \
| OPTST_SET_ARGTYPE(OPARG_TYPE_FILE))
-/*
+/**
* pskpasswd option description:
*/
-#define PSKPASSWD_DESC (gnutls_serv_opt_strs+2423)
-#define PSKPASSWD_NAME (gnutls_serv_opt_strs+2448)
-#define PSKPASSWD_name (gnutls_serv_opt_strs+2458)
+/** Descriptive text for the pskpasswd option */
+#define PSKPASSWD_DESC (gnutls_serv_opt_strs+2419)
+/** Upper-cased name for the pskpasswd option */
+#define PSKPASSWD_NAME (gnutls_serv_opt_strs+2444)
+/** Name string for the pskpasswd option */
+#define PSKPASSWD_name (gnutls_serv_opt_strs+2454)
+/** Compiled in flag settings for the pskpasswd option */
#define PSKPASSWD_FLAGS (OPTST_DISABLED \
| OPTST_SET_ARGTYPE(OPARG_TYPE_FILE))
-/*
+/**
* pskhint option description:
*/
-#define PSKHINT_DESC (gnutls_serv_opt_strs+2468)
-#define PSKHINT_NAME (gnutls_serv_opt_strs+2493)
-#define PSKHINT_name (gnutls_serv_opt_strs+2501)
+/** Descriptive text for the pskhint option */
+#define PSKHINT_DESC (gnutls_serv_opt_strs+2464)
+/** Upper-cased name for the pskhint option */
+#define PSKHINT_NAME (gnutls_serv_opt_strs+2489)
+/** Name string for the pskhint option */
+#define PSKHINT_name (gnutls_serv_opt_strs+2497)
+/** Compiled in flag settings for the pskhint option */
#define PSKHINT_FLAGS (OPTST_DISABLED \
| OPTST_SET_ARGTYPE(OPARG_TYPE_STRING))
-/*
+/**
* ocsp-response option description:
*/
-#define OCSP_RESPONSE_DESC (gnutls_serv_opt_strs+2509)
-#define OCSP_RESPONSE_NAME (gnutls_serv_opt_strs+2545)
-#define OCSP_RESPONSE_name (gnutls_serv_opt_strs+2559)
+/** Descriptive text for the ocsp-response option */
+#define OCSP_RESPONSE_DESC (gnutls_serv_opt_strs+2505)
+/** Upper-cased name for the ocsp-response option */
+#define OCSP_RESPONSE_NAME (gnutls_serv_opt_strs+2541)
+/** Name string for the ocsp-response option */
+#define OCSP_RESPONSE_name (gnutls_serv_opt_strs+2555)
+/** Compiled in flag settings for the ocsp-response option */
#define OCSP_RESPONSE_FLAGS (OPTST_DISABLED \
| OPTST_SET_ARGTYPE(OPARG_TYPE_FILE))
-/*
+/**
* port option description:
*/
-#define PORT_DESC (gnutls_serv_opt_strs+2573)
-#define PORT_NAME (gnutls_serv_opt_strs+2596)
-#define PORT_name (gnutls_serv_opt_strs+2601)
+/** Descriptive text for the port option */
+#define PORT_DESC (gnutls_serv_opt_strs+2569)
+/** Upper-cased name for the port option */
+#define PORT_NAME (gnutls_serv_opt_strs+2592)
+/** Name string for the port option */
+#define PORT_name (gnutls_serv_opt_strs+2597)
+/** Compiled in flag settings for the port option */
#define PORT_FLAGS (OPTST_DISABLED \
| OPTST_SET_ARGTYPE(OPARG_TYPE_NUMERIC))
-/*
+/**
* list option description:
*/
-#define LIST_DESC (gnutls_serv_opt_strs+2606)
-#define LIST_NAME (gnutls_serv_opt_strs+2657)
-#define LIST_name (gnutls_serv_opt_strs+2662)
+/** Descriptive text for the list option */
+#define LIST_DESC (gnutls_serv_opt_strs+2602)
+/** Upper-cased name for the list option */
+#define LIST_NAME (gnutls_serv_opt_strs+2653)
+/** Name string for the list option */
+#define LIST_name (gnutls_serv_opt_strs+2658)
+/** Compiled in flag settings for the list option */
#define LIST_FLAGS (OPTST_DISABLED)
/*
* Help/More_Help/Version option descriptions:
*/
-#define HELP_DESC (gnutls_serv_opt_strs+2667)
-#define HELP_name (gnutls_serv_opt_strs+2711)
+#define HELP_DESC (gnutls_serv_opt_strs+2663)
+#define HELP_name (gnutls_serv_opt_strs+2707)
#ifdef HAVE_WORKING_FORK
-#define MORE_HELP_DESC (gnutls_serv_opt_strs+2716)
-#define MORE_HELP_name (gnutls_serv_opt_strs+2761)
+#define MORE_HELP_DESC (gnutls_serv_opt_strs+2712)
+#define MORE_HELP_name (gnutls_serv_opt_strs+2757)
#define MORE_HELP_FLAGS (OPTST_IMM | OPTST_NO_INIT)
#else
#define MORE_HELP_DESC NULL
@@ -527,9 +661,9 @@ static char const gnutls_serv_opt_strs[3106] =
# define VER_FLAGS (OPTST_SET_ARGTYPE(OPARG_TYPE_STRING) | \
OPTST_ARG_OPTIONAL | OPTST_IMM | OPTST_NO_INIT)
#endif
-#define VER_DESC (gnutls_serv_opt_strs+2771)
-#define VER_name (gnutls_serv_opt_strs+2807)
-/*
+#define VER_DESC (gnutls_serv_opt_strs+2767)
+#define VER_name (gnutls_serv_opt_strs+2803)
+/**
* Declare option callback procedures
*/
extern tOptProc
@@ -975,7 +1109,7 @@ static tOptDesc optDesc[OPTION_CT] = {
/* equiv idx value */ NO_EQUIVALENT, VALUE_OPT_VERSION,
/* equivalenced to */ NO_EQUIVALENT,
/* min, max, act ct */ 0, 1, 0,
- /* opt state flags */ VER_FLAGS, 0,
+ /* opt state flags */ VER_FLAGS, AOUSE_VERSION,
/* last opt argumnt */ { NULL },
/* arg list/cookie */ NULL,
/* must/cannot opts */ NULL, NULL,
@@ -989,7 +1123,7 @@ static tOptDesc optDesc[OPTION_CT] = {
/* equiv idx value */ NO_EQUIVALENT, VALUE_OPT_HELP,
/* equivalenced to */ NO_EQUIVALENT,
/* min, max, act ct */ 0, 1, 0,
- /* opt state flags */ OPTST_IMM | OPTST_NO_INIT, 0,
+ /* opt state flags */ OPTST_IMM | OPTST_NO_INIT, AOUSE_HELP,
/* last opt argumnt */ { NULL },
/* arg list/cookie */ NULL,
/* must/cannot opts */ NULL, NULL,
@@ -1001,7 +1135,7 @@ static tOptDesc optDesc[OPTION_CT] = {
/* equiv idx value */ NO_EQUIVALENT, VALUE_OPT_MORE_HELP,
/* equivalenced to */ NO_EQUIVALENT,
/* min, max, act ct */ 0, 1, 0,
- /* opt state flags */ MORE_HELP_FLAGS, 0,
+ /* opt state flags */ MORE_HELP_FLAGS, AOUSE_MORE_HELP,
/* last opt argumnt */ { NULL },
/* arg list/cookie */ NULL,
/* must/cannot opts */ NULL, NULL,
@@ -1011,19 +1145,24 @@ static tOptDesc optDesc[OPTION_CT] = {
};
-/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
- *
- * Define the gnutls-serv Option Environment
- */
-#define zPROGNAME (gnutls_serv_opt_strs+2815)
-#define zUsageTitle (gnutls_serv_opt_strs+2827)
+/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
+/** Reference to the upper cased version of gnutls-serv. */
+#define zPROGNAME (gnutls_serv_opt_strs+2811)
+/** Reference to the title line for gnutls-serv usage. */
+#define zUsageTitle (gnutls_serv_opt_strs+2823)
+/** There is no gnutls-serv configuration file. */
#define zRcName NULL
+/** There are no directories to search for gnutls-serv config files. */
#define apzHomeList NULL
-#define zBugsAddr (gnutls_serv_opt_strs+2930)
-#define zExplain (gnutls_serv_opt_strs+2949)
-#define zDetail (gnutls_serv_opt_strs+2952)
-#define zFullVersion (gnutls_serv_opt_strs+3011)
-/* extracted from optcode.tlib near line 350 */
+/** The gnutls-serv program bug email address. */
+#define zBugsAddr (gnutls_serv_opt_strs+2909)
+/** Clarification/explanation of what gnutls-serv does. */
+#define zExplain (gnutls_serv_opt_strs+2928)
+/** Extra detail explaining what gnutls-serv does. */
+#define zDetail (gnutls_serv_opt_strs+2930)
+/** The full version string for gnutls-serv. */
+#define zFullVersion (gnutls_serv_opt_strs+2988)
+/* extracted from optcode.tlib near line 371 */
#if defined(ENABLE_NLS)
# define OPTPROC_BASE OPTPROC_TRANSLATE | OPTPROC_NXLAT_OPT
@@ -1033,10 +1172,8 @@ static tOptDesc optDesc[OPTION_CT] = {
# define translate_option_strings NULL
#endif /* ENABLE_NLS */
-
#define gnutls_serv_full_usage (NULL)
-
-#define gnutls_serv_short_usage (gnutls_serv_opt_strs+3033)
+#define gnutls_serv_short_usage (gnutls_serv_opt_strs+3010)
#endif /* not defined __doxygen__ */
@@ -1046,8 +1183,8 @@ static tOptDesc optDesc[OPTION_CT] = {
/**
* The callout function that invokes the optionUsage function.
*
- * @param pOptions the AutoOpts option description structure
- * @param pOptDesc the descriptor for the "help" (usage) option.
+ * @param[in] pOptions the AutoOpts option description structure
+ * @param[in] pOptDesc the descriptor for the "help" (usage) option.
* @noreturn
*/
static void
@@ -1062,9 +1199,9 @@ doUsageOpt(tOptions * pOptions, tOptDesc * pOptDesc)
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/**
* Code to handle the debug option.
- *
- * @param pOptions the gnutls-serv options data structure
- * @param pOptDesc the option descriptor for this option.
+ * Specifies the debug level.
+ * @param[in] pOptions the gnutls-serv options data structure
+ * @param[in,out] pOptDesc the option descriptor for this option.
*/
static void
doOptDebug(tOptions* pOptions, tOptDesc* pOptDesc)
@@ -1090,8 +1227,7 @@ doOptDebug(tOptions* pOptions, tOptDesc* pOptDesc)
option_usage_fp = stderr;
-emit_ranges:
-
+ emit_ranges:
optionShowRange(pOptions, pOptDesc, (void *)rng, 1);
}
@@ -1099,8 +1235,8 @@ emit_ranges:
/**
* Code to handle the mtu option.
*
- * @param pOptions the gnutls-serv options data structure
- * @param pOptDesc the option descriptor for this option.
+ * @param[in] pOptions the gnutls-serv options data structure
+ * @param[in,out] pOptDesc the option descriptor for this option.
*/
static void
doOptMtu(tOptions* pOptions, tOptDesc* pOptDesc)
@@ -1126,8 +1262,7 @@ doOptMtu(tOptions* pOptions, tOptDesc* pOptDesc)
option_usage_fp = stderr;
-emit_ranges:
-
+ emit_ranges:
optionShowRange(pOptions, pOptDesc, (void *)rng, 1);
}
@@ -1135,8 +1270,8 @@ emit_ranges:
/**
* Code to handle the dhparams option.
*
- * @param pOptions the gnutls-serv options data structure
- * @param pOptDesc the option descriptor for this option.
+ * @param[in] pOptions the gnutls-serv options data structure
+ * @param[in,out] pOptDesc the option descriptor for this option.
*/
static void
doOptDhparams(tOptions* pOptions, tOptDesc* pOptDesc)
@@ -1149,6 +1284,9 @@ doOptDhparams(tOptions* pOptions, tOptDesc* pOptDesc)
#endif
mode.file_flags = O_CLOEXEC;
+ /*
+ * This function handles special invalid values for "pOptions"
+ */
optionFileCheck(pOptions, pOptDesc, type, mode);
}
@@ -1156,8 +1294,8 @@ doOptDhparams(tOptions* pOptions, tOptDesc* pOptDesc)
/**
* Code to handle the x509crlfile option.
*
- * @param pOptions the gnutls-serv options data structure
- * @param pOptDesc the option descriptor for this option.
+ * @param[in] pOptions the gnutls-serv options data structure
+ * @param[in,out] pOptDesc the option descriptor for this option.
*/
static void
doOptX509crlfile(tOptions* pOptions, tOptDesc* pOptDesc)
@@ -1170,6 +1308,9 @@ doOptX509crlfile(tOptions* pOptions, tOptDesc* pOptDesc)
#endif
mode.file_flags = O_CLOEXEC;
+ /*
+ * This function handles special invalid values for "pOptions"
+ */
optionFileCheck(pOptions, pOptDesc, type, mode);
}
@@ -1177,8 +1318,8 @@ doOptX509crlfile(tOptions* pOptions, tOptDesc* pOptDesc)
/**
* Code to handle the pgpkeyfile option.
*
- * @param pOptions the gnutls-serv options data structure
- * @param pOptDesc the option descriptor for this option.
+ * @param[in] pOptions the gnutls-serv options data structure
+ * @param[in,out] pOptDesc the option descriptor for this option.
*/
static void
doOptPgpkeyfile(tOptions* pOptions, tOptDesc* pOptDesc)
@@ -1191,6 +1332,9 @@ doOptPgpkeyfile(tOptions* pOptions, tOptDesc* pOptDesc)
#endif
mode.file_flags = O_CLOEXEC;
+ /*
+ * This function handles special invalid values for "pOptions"
+ */
optionFileCheck(pOptions, pOptDesc, type, mode);
}
@@ -1198,8 +1342,8 @@ doOptPgpkeyfile(tOptions* pOptions, tOptDesc* pOptDesc)
/**
* Code to handle the pgpkeyring option.
*
- * @param pOptions the gnutls-serv options data structure
- * @param pOptDesc the option descriptor for this option.
+ * @param[in] pOptions the gnutls-serv options data structure
+ * @param[in,out] pOptDesc the option descriptor for this option.
*/
static void
doOptPgpkeyring(tOptions* pOptions, tOptDesc* pOptDesc)
@@ -1212,6 +1356,9 @@ doOptPgpkeyring(tOptions* pOptions, tOptDesc* pOptDesc)
#endif
mode.file_flags = O_CLOEXEC;
+ /*
+ * This function handles special invalid values for "pOptions"
+ */
optionFileCheck(pOptions, pOptDesc, type, mode);
}
@@ -1219,8 +1366,8 @@ doOptPgpkeyring(tOptions* pOptions, tOptDesc* pOptDesc)
/**
* Code to handle the pgpcertfile option.
*
- * @param pOptions the gnutls-serv options data structure
- * @param pOptDesc the option descriptor for this option.
+ * @param[in] pOptions the gnutls-serv options data structure
+ * @param[in,out] pOptDesc the option descriptor for this option.
*/
static void
doOptPgpcertfile(tOptions* pOptions, tOptDesc* pOptDesc)
@@ -1233,6 +1380,9 @@ doOptPgpcertfile(tOptions* pOptions, tOptDesc* pOptDesc)
#endif
mode.file_flags = O_CLOEXEC;
+ /*
+ * This function handles special invalid values for "pOptions"
+ */
optionFileCheck(pOptions, pOptDesc, type, mode);
}
@@ -1240,8 +1390,8 @@ doOptPgpcertfile(tOptions* pOptions, tOptDesc* pOptDesc)
/**
* Code to handle the srppasswd option.
*
- * @param pOptions the gnutls-serv options data structure
- * @param pOptDesc the option descriptor for this option.
+ * @param[in] pOptions the gnutls-serv options data structure
+ * @param[in,out] pOptDesc the option descriptor for this option.
*/
static void
doOptSrppasswd(tOptions* pOptions, tOptDesc* pOptDesc)
@@ -1254,6 +1404,9 @@ doOptSrppasswd(tOptions* pOptions, tOptDesc* pOptDesc)
#endif
mode.file_flags = O_CLOEXEC;
+ /*
+ * This function handles special invalid values for "pOptions"
+ */
optionFileCheck(pOptions, pOptDesc, type, mode);
}
@@ -1261,8 +1414,8 @@ doOptSrppasswd(tOptions* pOptions, tOptDesc* pOptDesc)
/**
* Code to handle the srppasswdconf option.
*
- * @param pOptions the gnutls-serv options data structure
- * @param pOptDesc the option descriptor for this option.
+ * @param[in] pOptions the gnutls-serv options data structure
+ * @param[in,out] pOptDesc the option descriptor for this option.
*/
static void
doOptSrppasswdconf(tOptions* pOptions, tOptDesc* pOptDesc)
@@ -1275,6 +1428,9 @@ doOptSrppasswdconf(tOptions* pOptions, tOptDesc* pOptDesc)
#endif
mode.file_flags = O_CLOEXEC;
+ /*
+ * This function handles special invalid values for "pOptions"
+ */
optionFileCheck(pOptions, pOptDesc, type, mode);
}
@@ -1282,8 +1438,8 @@ doOptSrppasswdconf(tOptions* pOptions, tOptDesc* pOptDesc)
/**
* Code to handle the pskpasswd option.
*
- * @param pOptions the gnutls-serv options data structure
- * @param pOptDesc the option descriptor for this option.
+ * @param[in] pOptions the gnutls-serv options data structure
+ * @param[in,out] pOptDesc the option descriptor for this option.
*/
static void
doOptPskpasswd(tOptions* pOptions, tOptDesc* pOptDesc)
@@ -1296,15 +1452,18 @@ doOptPskpasswd(tOptions* pOptions, tOptDesc* pOptDesc)
#endif
mode.file_flags = O_CLOEXEC;
+ /*
+ * This function handles special invalid values for "pOptions"
+ */
optionFileCheck(pOptions, pOptDesc, type, mode);
}
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/**
* Code to handle the ocsp-response option.
- *
- * @param pOptions the gnutls-serv options data structure
- * @param pOptDesc the option descriptor for this option.
+ * If the client requested an OCSP response, return data from this file to the client.
+ * @param[in] pOptions the gnutls-serv options data structure
+ * @param[in,out] pOptDesc the option descriptor for this option.
*/
static void
doOptOcsp_Response(tOptions* pOptions, tOptDesc* pOptDesc)
@@ -1317,9 +1476,12 @@ doOptOcsp_Response(tOptions* pOptions, tOptDesc* pOptDesc)
#endif
mode.file_flags = O_CLOEXEC;
+ /*
+ * This function handles special invalid values for "pOptions"
+ */
optionFileCheck(pOptions, pOptDesc, type, mode);
}
-/* extracted from optmain.tlib near line 1113 */
+/* extracted from optmain.tlib near line 1254 */
/**
* The directory containing the data associated with gnutls-serv.
@@ -1335,6 +1497,7 @@ doOptOcsp_Response(tOptions* pOptions, tOptDesc* pOptDesc)
#ifndef WITH_PACKAGER
# define gnutls_serv_packager_info NULL
#else
+/** Packager information for gnutls-serv. */
static char const gnutls_serv_packager_info[] =
"Packaged by " WITH_PACKAGER
@@ -1389,42 +1552,69 @@ tOptions gnutls_servOptions = {
};
#if ENABLE_NLS
+/**
+ * This code is designed to translate translatable option text for the
+ * gnutls-serv program. These translations happen upon entry
+ * to optionProcess().
+ */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
+#ifdef HAVE_DCGETTEXT
+# include <gettext.h>
+#endif
#include <autoopts/usage-txt.h>
-static char* AO_gettext(char const* pz);
-static void coerce_it(void** s);
+static char * AO_gettext(char const * pz);
+static void coerce_it(void ** s);
/**
- * AutoGen specific wrapper function for gettext.
- * It relies on the macro _() to convert from English to the target
- * language, then strdup-duplicates the result string.
+ * AutoGen specific wrapper function for gettext. It relies on the macro _()
+ * to convert from English to the target language, then strdup-duplicates the
+ * result string. It tries the "libopts" domain first, then whatever has been
+ * set via the \a textdomain(3) call.
*
* @param[in] pz the input text used as a lookup key.
* @returns the translated text (if there is one),
* or the original text (if not).
*/
static char *
-AO_gettext(char const* pz)
+AO_gettext(char const * pz)
{
- char* pzRes;
+ char * res;
if (pz == NULL)
return NULL;
- pzRes = _(pz);
- if (pzRes == pz)
- return pzRes;
- pzRes = strdup(pzRes);
- if (pzRes == NULL) {
+#ifdef HAVE_DCGETTEXT
+ /*
+ * While processing the option_xlateable_txt data, try to use the
+ * "libopts" domain. Once we switch to the option descriptor data,
+ * do *not* use that domain.
+ */
+ if (option_xlateable_txt.field_ct != 0) {
+ res = dgettext("libopts", pz);
+ if (res == pz)
+ res = (char *)(void *)_(pz);
+ } else
+ res = (char *)(void *)_(pz);
+#else
+ res = (char *)(void *)_(pz);
+#endif
+ if (res == pz)
+ return res;
+ res = strdup(res);
+ if (res == NULL) {
fputs(_("No memory for duping translated strings\n"), stderr);
exit(GNUTLS_SERV_EXIT_FAILURE);
}
- return pzRes;
+ return res;
}
-static void coerce_it(void** s) { *s = AO_gettext(*s);
+/**
+ * All the pointers we use are marked "* const", but they are stored in
+ * writable memory. Coerce the mutability and set the pointer.
+ */
+static void coerce_it(void ** s) { *s = AO_gettext(*s);
}
/**
@@ -1434,56 +1624,506 @@ static void coerce_it(void** s) { *s = AO_gettext(*s);
static void
translate_option_strings(void)
{
- tOptions * const pOpt = &gnutls_servOptions;
+ tOptions * const opts = &gnutls_servOptions;
/*
* Guard against re-translation. It won't work. The strings will have
* been changed by the first pass through this code. One shot only.
*/
- if (option_usage_text.field_ct != 0) {
+ if (option_xlateable_txt.field_ct != 0) {
/*
* Do the translations. The first pointer follows the field count
* field. The field count field is the size of a pointer.
*/
- tOptDesc * pOD = pOpt->pOptDesc;
- char ** ppz = (char**)(void*)&(option_usage_text);
- int ix = option_usage_text.field_ct;
+ char ** ppz = (char**)(void*)&(option_xlateable_txt);
+ int ix = option_xlateable_txt.field_ct;
do {
- ppz++;
+ ppz++; /* skip over field_ct */
*ppz = AO_gettext(*ppz);
} while (--ix > 0);
-
- coerce_it((void*)&(pOpt->pzCopyright));
- coerce_it((void*)&(pOpt->pzCopyNotice));
- coerce_it((void*)&(pOpt->pzFullVersion));
- coerce_it((void*)&(pOpt->pzUsageTitle));
- coerce_it((void*)&(pOpt->pzExplain));
- coerce_it((void*)&(pOpt->pzDetail));
- coerce_it((void*)&(pOpt->pzPackager));
- coerce_it((void*)&(pOpt->pzShortUsage));
- option_usage_text.field_ct = 0;
-
- for (ix = pOpt->optCt; ix > 0; ix--, pOD++)
- coerce_it((void*)&(pOD->pzText));
- }
-
- if ((pOpt->fOptSet & OPTPROC_NXLAT_OPT_CFG) == 0) {
- tOptDesc * pOD = pOpt->pOptDesc;
- int ix;
-
- for (ix = pOpt->optCt; ix > 0; ix--, pOD++) {
- coerce_it((void*)&(pOD->pz_Name));
- coerce_it((void*)&(pOD->pz_DisableName));
- coerce_it((void*)&(pOD->pz_DisablePfx));
+ /* prevent re-translation and disable "libopts" domain lookup */
+ option_xlateable_txt.field_ct = 0;
+
+ coerce_it((void*)&(opts->pzCopyright));
+ coerce_it((void*)&(opts->pzCopyNotice));
+ coerce_it((void*)&(opts->pzFullVersion));
+ coerce_it((void*)&(opts->pzUsageTitle));
+ coerce_it((void*)&(opts->pzExplain));
+ coerce_it((void*)&(opts->pzDetail));
+ {
+ tOptDesc * od = opts->pOptDesc;
+ for (ix = opts->optCt; ix > 0; ix--, od++)
+ coerce_it((void*)&(od->pzText));
}
- /* prevent re-translation */
- gnutls_servOptions.fOptSet |= OPTPROC_NXLAT_OPT_CFG | OPTPROC_NXLAT_OPT;
}
}
-
#endif /* ENABLE_NLS */
+#ifdef DO_NOT_COMPILE_THIS_CODE_IT_IS_FOR_GETTEXT
+/** I18N function strictly for xgettext. Do not compile. */
+static void bogus_function(void) {
+ /* TRANSLATORS:
+
+ The following dummy function was crated solely so that xgettext can extract
+ the correct strings. These strings are actually referenced by a field name
+ in the gnutls_servOptions structure noted in the comments below. The
+ literal text is defined in gnutls_serv_opt_strs.
+
+ NOTE: the strings below are segmented with respect to the source string
+ gnutls_serv_opt_strs. The strings above are handed off for translation
+ at run time a paragraph at a time. Consequently, they are presented here
+ for translation a paragraph at a time.
+
+ ALSO: often the description for an option will reference another option
+ by name. These are set off with apostrophe quotes (I hope). Do not
+ translate option names.
+ */
+ /* referenced via gnutls_servOptions.pzCopyright */
+ puts(_("gnutls-serv @VERSION@\n\
+Copyright (C) 2000-2012 Free Software Foundation, all rights reserved.\n\
+This is free software. It is licensed for use, modification and\n\
+redistribution under the terms of the GNU General Public License,\n\
+version 3 or later <http://gnu.org/licenses/gpl.html>\n"));
+
+ /* referenced via gnutls_servOptions.pzCopyNotice */
+ puts(_("gnutls-serv is free software: you can redistribute it and/or modify it\n\
+under the terms of the GNU General Public License as published by the Free\n\
+Software Foundation, either version 3 of the License, or (at your option)\n\
+any later version.\n\n"));
+ puts(_("gnutls-serv is distributed in the hope that it will be useful, but WITHOUT\n\
+ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or\n\
+FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for\n\
+more details.\n\n"));
+ puts(_("You should have received a copy of the GNU General Public License along\n\
+with this program. If not, see <http://www.gnu.org/licenses/>.\n"));
+
+ /* referenced via gnutls_servOptions.pOptDesc->pzText */
+ puts(_("Enable debugging."));
+
+ /* referenced via gnutls_servOptions.pOptDesc->pzText */
+ puts(_("Don't accept session tickets"));
+
+ /* referenced via gnutls_servOptions.pOptDesc->pzText */
+ puts(_("Generate Diffie-Hellman and RSA-export parameters"));
+
+ /* referenced via gnutls_servOptions.pOptDesc->pzText */
+ puts(_("Suppress some messages"));
+
+ /* referenced via gnutls_servOptions.pOptDesc->pzText */
+ puts(_("Do not use a resumption database"));
+
+ /* referenced via gnutls_servOptions.pOptDesc->pzText */
+ puts(_("Act as an HTTP server"));
+
+ /* referenced via gnutls_servOptions.pOptDesc->pzText */
+ puts(_("Act as an Echo server"));
+
+ /* referenced via gnutls_servOptions.pOptDesc->pzText */
+ puts(_("Use DTLS (datagram TLS) over UDP"));
+
+ /* referenced via gnutls_servOptions.pOptDesc->pzText */
+ puts(_("Set MTU for datagram TLS"));
+
+ /* referenced via gnutls_servOptions.pOptDesc->pzText */
+ puts(_("Offer SRTP profiles"));
+
+ /* referenced via gnutls_servOptions.pOptDesc->pzText */
+ puts(_("Do not request a client certificate"));
+
+ /* referenced via gnutls_servOptions.pOptDesc->pzText */
+ puts(_("Require a client certificate"));
+
+ /* referenced via gnutls_servOptions.pOptDesc->pzText */
+ puts(_("Activate heartbeat support"));
+
+ /* referenced via gnutls_servOptions.pOptDesc->pzText */
+ puts(_("Use DER format for certificates to read from"));
+
+ /* referenced via gnutls_servOptions.pOptDesc->pzText */
+ puts(_("Priorities string"));
+
+ /* referenced via gnutls_servOptions.pOptDesc->pzText */
+ puts(_("DH params file to use"));
+
+ /* referenced via gnutls_servOptions.pOptDesc->pzText */
+ puts(_("Certificate file or PKCS #11 URL to use"));
+
+ /* referenced via gnutls_servOptions.pOptDesc->pzText */
+ puts(_("CRL file to use"));
+
+ /* referenced via gnutls_servOptions.pOptDesc->pzText */
+ puts(_("PGP Key file to use"));
+
+ /* referenced via gnutls_servOptions.pOptDesc->pzText */
+ puts(_("PGP Key ring file to use"));
+
+ /* referenced via gnutls_servOptions.pOptDesc->pzText */
+ puts(_("PGP Public Key (certificate) file to use"));
+
+ /* referenced via gnutls_servOptions.pOptDesc->pzText */
+ puts(_("X.509 key file or PKCS #11 URL to use"));
+
+ /* referenced via gnutls_servOptions.pOptDesc->pzText */
+ puts(_("X.509 Certificate file or PKCS #11 URL to use"));
+
+ /* referenced via gnutls_servOptions.pOptDesc->pzText */
+ puts(_("Alternative X.509 key file or PKCS #11 URL to use"));
+
+ /* referenced via gnutls_servOptions.pOptDesc->pzText */
+ puts(_("Alternative X.509 Certificate file or PKCS #11 URL to use"));
+
+ /* referenced via gnutls_servOptions.pOptDesc->pzText */
+ puts(_("Alternative X.509 key file or PKCS #11 URL to use"));
+
+ /* referenced via gnutls_servOptions.pOptDesc->pzText */
+ puts(_("Alternative X.509 Certificate file or PKCS #11 URL to use"));
+
+ /* referenced via gnutls_servOptions.pOptDesc->pzText */
+ puts(_("PGP subkey to use (hex or auto)"));
+
+ /* referenced via gnutls_servOptions.pOptDesc->pzText */
+ puts(_("SRP password file to use"));
+
+ /* referenced via gnutls_servOptions.pOptDesc->pzText */
+ puts(_("SRP password configuration file to use"));
+
+ /* referenced via gnutls_servOptions.pOptDesc->pzText */
+ puts(_("PSK password file to use"));
+
+ /* referenced via gnutls_servOptions.pOptDesc->pzText */
+ puts(_("PSK identity hint to use"));
+
+ /* referenced via gnutls_servOptions.pOptDesc->pzText */
+ puts(_("The OCSP response to send to client"));
+
+ /* referenced via gnutls_servOptions.pOptDesc->pzText */
+ puts(_("The port to connect to"));
+
+ /* referenced via gnutls_servOptions.pOptDesc->pzText */
+ puts(_("Print a list of the supported algorithms and modes"));
+
+ /* referenced via gnutls_servOptions.pOptDesc->pzText */
+ puts(_("display extended usage information and exit"));
+
+ /* referenced via gnutls_servOptions.pOptDesc->pzText */
+ puts(_("extended usage information passed thru pager"));
+
+ /* referenced via gnutls_servOptions.pOptDesc->pzText */
+ puts(_("output version information and exit"));
+
+ /* referenced via gnutls_servOptions.pzUsageTitle */
+ puts(_("gnutls-serv - GnuTLS server\n\
+Usage: %s [ -<flag> [<val>] | --<name>[{=| }<val>] ]...\n"));
+
+ /* referenced via gnutls_servOptions.pzExplain */
+ puts(_("\n"));
+
+ /* referenced via gnutls_servOptions.pzDetail */
+ puts(_("Server program that listens to incoming TLS connections.\n"));
+
+ /* referenced via gnutls_servOptions.pzFullVersion */
+ puts(_("gnutls-serv @VERSION@"));
+
+ /* referenced via gnutls_servOptions.pzFullUsage */
+ puts(_("<<<NOT-FOUND>>>"));
+
+ /* referenced via gnutls_servOptions.pzShortUsage */
+ puts(_("Usage: gnutls-serv [options]\n\
+gnutls-serv --help for usage instructions.\n"));
+ /* LIBOPTS-MESSAGES: */
+#line 60 "../autoopts.c"
+ puts(_("allocation of %d bytes failed\n"));
+#line 86 "../autoopts.c"
+ puts(_("allocation of %d bytes failed\n"));
+#line 53 "../init.c"
+ puts(_("AutoOpts function called without option descriptor\n"));
+#line 89 "../init.c"
+ puts(_("\tThis exceeds the compiled library version: "));
+#line 87 "../init.c"
+ puts(_("Automated Options Processing Error!\n"
+ "\t%s called AutoOpts function with structure version %d:%d:%d.\n"));
+#line 73 "../autoopts.c"
+ puts(_("realloc of %d bytes at 0x%p failed\n"));
+#line 91 "../init.c"
+ puts(_("\tThis is less than the minimum library version: "));
+#line 121 "../version.c"
+ puts(_("Automated Options version %s\n"
+ "\tCopyright (C) 1999-2013 by Bruce Korb - all rights reserved\n"));
+#line 310 "../usage.c"
+ puts(_("(AutoOpts bug): %s.\n"));
+#line 90 "../reset.c"
+ puts(_("optionResetOpt() called, but reset-option not configured"));
+#line 329 "../usage.c"
+ puts(_("could not locate the 'help' option"));
+#line 351 "../autoopts.c"
+ puts(_("optionProcess() was called with invalid data"));
+#line 783 "../usage.c"
+ puts(_("invalid argument type specified"));
+#line 589 "../find.c"
+ puts(_("defaulted to option with optional arg"));
+#line 76 "../alias.c"
+ puts(_("aliasing option is out of range."));
+#line 229 "../enum.c"
+ puts(_("%s error: the keyword '%s' is ambiguous for %s\n"));
+#line 108 "../find.c"
+ puts(_(" The following options match:\n"));
+#line 290 "../find.c"
+ puts(_("%s: ambiguous option name: %s (matches %d options)\n"));
+#line 161 "../check.c"
+ puts(_("%s: Command line arguments required\n"));
+#line 43 "../alias.c"
+ puts(_("%d %s%s options allowed\n"));
+#line 81 "../makeshell.c"
+ puts(_("%s error %d (%s) calling %s for '%s'\n"));
+#line 293 "../makeshell.c"
+ puts(_("interprocess pipe"));
+#line 168 "../version.c"
+ puts(_("error: version option argument '%c' invalid. Use:\n"
+ "\t'v' - version only\n"
+ "\t'c' - version and copyright\n"
+ "\t'n' - version and full copyright notice\n"));
+#line 58 "../check.c"
+ puts(_("%s error: the '%s' and '%s' options conflict\n"));
+#line 214 "../find.c"
+ puts(_("%s: The '%s' option has been disabled."));
+#line 421 "../find.c"
+ puts(_("%s: The '%s' option has been disabled."));
+#line 38 "../alias.c"
+ puts(_("-equivalence"));
+#line 460 "../find.c"
+ puts(_("%s: illegal option -- %c\n"));
+#line 110 "../reset.c"
+ puts(_("%s: illegal option -- %c\n"));
+#line 268 "../find.c"
+ puts(_("%s: illegal option -- %s\n"));
+#line 746 "../find.c"
+ puts(_("%s: illegal option -- %s\n"));
+#line 118 "../reset.c"
+ puts(_("%s: illegal option -- %s\n"));
+#line 332 "../find.c"
+ puts(_("%s: unknown vendor extension option -- %s\n"));
+#line 154 "../enum.c"
+ puts(_(" or an integer from %d through %d\n"));
+#line 164 "../enum.c"
+ puts(_(" or an integer from %d through %d\n"));
+#line 782 "../usage.c"
+ puts(_("%s error: invalid option descriptor for %s\n"));
+#line 1110 "../usage.c"
+ puts(_("%s error: invalid option descriptor for %s\n"));
+#line 379 "../find.c"
+ puts(_("%s: invalid option name: %s\n"));
+#line 518 "../find.c"
+ puts(_("%s: The '%s' option requires an argument.\n"));
+#line 171 "../autoopts.c"
+ puts(_("(AutoOpts bug): Equivalenced option '%s' was equivalenced to both\n"
+ "\t'%s' and '%s'."));
+#line 94 "../check.c"
+ puts(_("%s error: The %s option is required\n"));
+#line 623 "../find.c"
+ puts(_("%s: The '%s' option cannot have an argument.\n"));
+#line 151 "../check.c"
+ puts(_("%s: Command line arguments are not allowed.\n"));
+#line 531 "../save.c"
+ puts(_("error %d (%s) creating %s\n"));
+#line 229 "../enum.c"
+ puts(_("%s error: '%s' does not match any %s keywords.\n"));
+#line 93 "../reset.c"
+ puts(_("%s error: The '%s' option requires an argument.\n"));
+#line 184 "../save.c"
+ puts(_("error %d (%s) stat-ing %s\n"));
+#line 238 "../save.c"
+ puts(_("error %d (%s) stat-ing %s\n"));
+#line 143 "../restore.c"
+ puts(_("%s error: no saved option state\n"));
+#line 246 "../autoopts.c"
+ puts(_("'%s' is not a command line option.\n"));
+#line 114 "../time.c"
+ puts(_("%s error: '%s' is not a recognizable date/time.\n"));
+#line 132 "../save.c"
+ puts(_("'%s' not defined\n"));
+#line 53 "../time.c"
+ puts(_("%s error: '%s' is not a recognizable time duration.\n"));
+#line 92 "../check.c"
+ puts(_("%s error: The %s option must appear %d times.\n"));
+#line 157 "../numeric.c"
+ puts(_("%s error: '%s' is not a recognizable number.\n"));
+#line 195 "../enum.c"
+ puts(_("%s error: %s exceeds %s keyword count\n"));
+#line 366 "../usage.c"
+ puts(_("Try '%s %s' for more information.\n"));
+#line 45 "../alias.c"
+ puts(_("one %s%s option allowed\n"));
+#line 195 "../makeshell.c"
+ puts(_("standard output"));
+#line 930 "../makeshell.c"
+ puts(_("standard output"));
+#line 304 "../usage.c"
+ puts(_("standard output"));
+#line 451 "../usage.c"
+ puts(_("standard output"));
+#line 660 "../usage.c"
+ puts(_("standard output"));
+#line 175 "../version.c"
+ puts(_("standard output"));
+#line 304 "../usage.c"
+ puts(_("standard error"));
+#line 451 "../usage.c"
+ puts(_("standard error"));
+#line 660 "../usage.c"
+ puts(_("standard error"));
+#line 175 "../version.c"
+ puts(_("standard error"));
+#line 195 "../makeshell.c"
+ puts(_("write"));
+#line 930 "../makeshell.c"
+ puts(_("write"));
+#line 303 "../usage.c"
+ puts(_("write"));
+#line 450 "../usage.c"
+ puts(_("write"));
+#line 659 "../usage.c"
+ puts(_("write"));
+#line 174 "../version.c"
+ puts(_("write"));
+#line 60 "../numeric.c"
+ puts(_("%s error: %s option value %ld is out of range.\n"));
+#line 44 "../check.c"
+ puts(_("%s error: %s option requires the %s option\n"));
+#line 131 "../save.c"
+ puts(_("%s warning: cannot save options - %s not regular file\n"));
+#line 183 "../save.c"
+ puts(_("%s warning: cannot save options - %s not regular file\n"));
+#line 237 "../save.c"
+ puts(_("%s warning: cannot save options - %s not regular file\n"));
+#line 256 "../save.c"
+ puts(_("%s warning: cannot save options - %s not regular file\n"));
+#line 530 "../save.c"
+ puts(_("%s warning: cannot save options - %s not regular file\n"));
+ /* END-LIBOPTS-MESSAGES */
+
+ /* USAGE-TEXT: */
+#line 908 "../usage.c"
+ puts(_("\t\t\t\t- an alternate for '%s'\n"));
+#line 1177 "../usage.c"
+ puts(_("Version, usage and configuration options:"));
+#line 959 "../usage.c"
+ puts(_("\t\t\t\t- default option for unnamed options\n"));
+#line 872 "../usage.c"
+ puts(_("\t\t\t\t- disabled as '--%s'\n"));
+#line 1146 "../usage.c"
+ puts(_(" --- %-14s %s\n"));
+#line 1144 "../usage.c"
+ puts(_("This option has been disabled"));
+#line 899 "../usage.c"
+ puts(_("\t\t\t\t- enabled by default\n"));
+#line 40 "../alias.c"
+ puts(_("%s error: only "));
+#line 1221 "../usage.c"
+ puts(_(" - examining environment variables named %s_*\n"));
+#line 168 "../file.c"
+ puts(_("\t\t\t\t- file must not pre-exist\n"));
+#line 172 "../file.c"
+ puts(_("\t\t\t\t- file must pre-exist\n"));
+#line 416 "../usage.c"
+ puts(_("Options are specified by doubled hyphens and their name or by a single\n"
+ "hyphen and the flag character.\n"));
+#line 908 "../makeshell.c"
+ puts(_("\n"
+ "= = = = = = = =\n\n"
+ "This incarnation of genshell will produce\n"
+ "a shell script to parse the options for %s:\n\n"));
+#line 161 "../enum.c"
+ puts(_(" or an integer mask with any of the lower %d bits set\n"));
+#line 932 "../usage.c"
+ puts(_("\t\t\t\t- is a set membership option\n"));
+#line 953 "../usage.c"
+ puts(_("\t\t\t\t- must appear between %d and %d times\n"));
+#line 418 "../usage.c"
+ puts(_("Options are specified by single or double hyphens and their name.\n"));
+#line 939 "../usage.c"
+ puts(_("\t\t\t\t- may appear multiple times\n"));
+#line 926 "../usage.c"
+ puts(_("\t\t\t\t- may not be preset\n"));
+#line 1336 "../usage.c"
+ puts(_(" Arg Option-Name Description\n"));
+#line 1272 "../usage.c"
+ puts(_(" Flg Arg Option-Name Description\n"));
+#line 1330 "../usage.c"
+ puts(_(" Flg Arg Option-Name Description\n"));
+#line 1331 "../usage.c"
+ puts(_(" %3s %s"));
+#line 1337 "../usage.c"
+ puts(_(" %3s %s"));
+#line 423 "../usage.c"
+ puts(_("The '-#<number>' option may omit the hash char\n"));
+#line 419 "../usage.c"
+ puts(_("All arguments are named options.\n"));
+#line 1006 "../usage.c"
+ puts(_(" - reading file %s"));
+#line 445 "../usage.c"
+ puts(_("\n"
+ "Please send bug reports to: <%s>\n"));
+#line 100 "../version.c"
+ puts(_("\n"
+ "Please send bug reports to: <%s>\n"));
+#line 129 "../version.c"
+ puts(_("\n"
+ "Please send bug reports to: <%s>\n"));
+#line 938 "../usage.c"
+ puts(_("\t\t\t\t- may NOT appear - preset only\n"));
+#line 978 "../usage.c"
+ puts(_("\n"
+ "The following option preset mechanisms are supported:\n"));
+#line 1219 "../usage.c"
+ puts(_("\n"
+ "The following option preset mechanisms are supported:\n"));
+#line 717 "../usage.c"
+ puts(_("prohibits these options:\n"));
+#line 712 "../usage.c"
+ puts(_("prohibits the option '%s'\n"));
+#line 81 "../numeric.c"
+ puts(_("%s%ld to %ld"));
+#line 79 "../numeric.c"
+ puts(_("%sgreater than or equal to %ld"));
+#line 75 "../numeric.c"
+ puts(_("%s%ld exactly"));
+#line 68 "../numeric.c"
+ puts(_("%sit must lie in one of the ranges:\n"));
+#line 68 "../numeric.c"
+ puts(_("%sit must be in the range:\n"));
+#line 88 "../numeric.c"
+ puts(_(", or\n"));
+#line 66 "../numeric.c"
+ puts(_("%sis scalable with a suffix: k/K/m/M/g/G/t/T\n"));
+#line 77 "../numeric.c"
+ puts(_("%sless than or equal to %ld"));
+#line 426 "../usage.c"
+ puts(_("Operands and options may be intermixed. They will be reordered.\n"));
+#line 687 "../usage.c"
+ puts(_("requires the option '%s'\n"));
+#line 690 "../usage.c"
+ puts(_("requires these options:\n"));
+#line 1348 "../usage.c"
+ puts(_(" Arg Option-Name Req? Description\n"));
+#line 1342 "../usage.c"
+ puts(_(" Flg Arg Option-Name Req? Description\n"));
+#line 162 "../enum.c"
+ puts(_("or you may use a numeric representation. Preceding these with a '!'\n"
+ "will clear the bits, specifying 'none' will clear all bits, and 'all'\n"
+ "will set them all. Multiple entries may be passed as an option\n"
+ "argument list.\n"));
+#line 945 "../usage.c"
+ puts(_("\t\t\t\t- may appear up to %d times\n"));
+#line 72 "../enum.c"
+ puts(_("The valid \"%s\" option keywords are:\n"));
+#line 1181 "../usage.c"
+ puts(_("The next option supports vendor supported extra options:"));
+#line 808 "../usage.c"
+ puts(_("These additional options are:"));
+ /* END-USAGE-TEXT */
+}
+#endif /* uncompilable code */
#ifdef __cplusplus
}
#endif