error.c File Reference

#include "internal.h"
#include "gettext.h"

Go to the source code of this file.

Defines

#define _(String)   dgettext (PACKAGE, String)
#define gettext_noop(String)   String
#define N_(String)   gettext_noop (String)

Functions

const char * gsasl_strerror (int err)


Define Documentation

#define _ ( String   )     dgettext (PACKAGE, String)

Definition at line 27 of file error.c.

Referenced by gsasl_strerror().

#define gettext_noop ( String   )     String

Definition at line 28 of file error.c.

#define N_ ( String   )     gettext_noop (String)

Definition at line 29 of file error.c.


Function Documentation

const char* gsasl_strerror ( int  err  ) 

gsasl_strerror:

Parameters:
err libgsasl error code
Convert return code to human readable string.

Return value: Returns a pointer to a statically allocated string containing a description of the error with the error value . This string can be used to output a diagnostic message to the user.

Definition at line 42 of file error.c.

References _, GSASL_AUTHENTICATION_ERROR, GSASL_BASE64_ERROR, GSASL_CANNOT_GET_CTX, GSASL_CRYPTO_ERROR, GSASL_FCLOSE_ERROR, GSASL_FOPEN_ERROR, GSASL_GSSAPI_ACCEPT_SEC_CONTEXT_ERROR, GSASL_GSSAPI_ACQUIRE_CRED_ERROR, GSASL_GSSAPI_DISPLAY_NAME_ERROR, GSASL_GSSAPI_IMPORT_NAME_ERROR, GSASL_GSSAPI_INIT_SEC_CONTEXT_ERROR, GSASL_GSSAPI_RELEASE_BUFFER_ERROR, GSASL_GSSAPI_UNSUPPORTED_PROTECTION_ERROR, GSASL_GSSAPI_UNWRAP_ERROR, GSASL_GSSAPI_WRAP_ERROR, GSASL_INTEGRITY_ERROR, GSASL_INVALID_HANDLE, GSASL_MALLOC_ERROR, GSASL_MECHANISM_CALLED_TOO_MANY_TIMES, GSASL_MECHANISM_PARSE_ERROR, GSASL_NEED_CLIENT_ANONYMOUS_CALLBACK, GSASL_NEED_CLIENT_AUTHENTICATION_ID_CALLBACK, GSASL_NEED_CLIENT_AUTHORIZATION_ID_CALLBACK, GSASL_NEED_CLIENT_PASSCODE_CALLBACK, GSASL_NEED_CLIENT_PASSWORD_CALLBACK, GSASL_NEED_CLIENT_PIN_CALLBACK, GSASL_NEED_CLIENT_SERVICE_CALLBACK, GSASL_NEED_SERVER_ANONYMOUS_CALLBACK, GSASL_NEED_SERVER_CRAM_MD5_CALLBACK, GSASL_NEED_SERVER_DIGEST_MD5_CALLBACK, GSASL_NEED_SERVER_EXTERNAL_CALLBACK, GSASL_NEED_SERVER_GSSAPI_CALLBACK, GSASL_NEED_SERVER_REALM_CALLBACK, GSASL_NEED_SERVER_RETRIEVE_CALLBACK, GSASL_NEED_SERVER_SECURID_CALLBACK, GSASL_NEED_SERVER_SERVICE_CALLBACK, GSASL_NEED_SERVER_VALIDATE_CALLBACK, GSASL_NEEDS_MORE, GSASL_NO_ANONYMOUS_TOKEN, GSASL_NO_AUTHID, GSASL_NO_AUTHZID, GSASL_NO_CALLBACK, GSASL_NO_CLIENT_CODE, GSASL_NO_HOSTNAME, GSASL_NO_MORE_REALMS, GSASL_NO_PASSCODE, GSASL_NO_PASSWORD, GSASL_NO_PIN, GSASL_NO_SERVER_CODE, GSASL_NO_SERVICE, GSASL_OK, GSASL_SASLPREP_ERROR, GSASL_TOO_SMALL_BUFFER, GSASL_UNICODE_NORMALIZATION_ERROR, and GSASL_UNKNOWN_MECHANISM.


Generated on Tue Aug 22 12:06:07 2006 for gsasl by  doxygen 1.4.7