summaryrefslogtreecommitdiffstats
path: root/doc/functions/dane_strerror
diff options
context:
space:
mode:
Diffstat (limited to 'doc/functions/dane_strerror')
-rw-r--r--doc/functions/dane_strerror15
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/functions/dane_strerror b/doc/functions/dane_strerror
new file mode 100644
index 0000000..535febc
--- /dev/null
+++ b/doc/functions/dane_strerror
@@ -0,0 +1,15 @@
+
+
+
+
+@deftypefun {const char *} {dane_strerror} (int @var{error})
+@var{error}: is a DANE error code, a negative error code
+
+This function is similar to strerror. The difference is that it
+accepts an error number returned by a gnutls function; In case of
+an unknown error a descriptive string is sent instead of @code{NULL} .
+
+Error codes are always a negative error code.
+
+@strong{Returns:} A string explaining the DANE error message.
+@end deftypefun