From aa0f5b38aec14428b4b80e06f90ff781f8bca5f1 Mon Sep 17 00:00:00 2001 From: Rene Mayrhofer Date: Mon, 22 May 2006 05:12:18 +0000 Subject: Import initial strongswan 2.7.0 version into SVN. --- lib/liblwres/man/lwres_hstrerror.html | 242 ++++++++++++++++++++++++++++++++++ 1 file changed, 242 insertions(+) create mode 100644 lib/liblwres/man/lwres_hstrerror.html (limited to 'lib/liblwres/man/lwres_hstrerror.html') diff --git a/lib/liblwres/man/lwres_hstrerror.html b/lib/liblwres/man/lwres_hstrerror.html new file mode 100644 index 000000000..128b7e4f8 --- /dev/null +++ b/lib/liblwres/man/lwres_hstrerror.html @@ -0,0 +1,242 @@ + +lwres_hstrerror

lwres_hstrerror

Name

lwres_herror, lwres_hstrerror -- lightweight resolver error message generation

Synopsis

#include <lwres/netdb.h>

void +lwres_herror(const char *s);

const char * +lwres_hstrerror(int err);

DESCRIPTION

lwres_herror() prints the string +s on stderr followed by the string +generated by lwres_hstrerror() for the error code +stored in the global variable lwres_h_errno.

lwres_hstrerror() returns an appropriate string +for the error code gievn by err. The values of +the error codes and messages are as follows: + +

NETDB_SUCCESS

Resolver Error 0 (no error)

HOST_NOT_FOUND

Unknown host

TRY_AGAIN

Host name lookup failure

NO_RECOVERY

Unknown server error

NO_DATA

No address associated with name

RETURN VALUES

The string Unknown resolver error is returned by +lwres_hstrerror() +when the value of +lwres_h_errno +is not a valid error code.

SEE ALSO

herror(3), + +lwres_hstrerror(3).

\ No newline at end of file -- cgit v1.2.3