gsasl
2.2.0
About: GNU SASL is an implementation of the Simple Authentication and Security Layer (SASL).
![]() ![]() |
Go to the source code of this file.
Macros | |
#define | _(String) dgettext (PACKAGE, String) |
#define | gettext_noop(String) String |
#define | N_(String) gettext_noop (String) |
#define | ERR(name, desc) { name, #name, desc } |
Functions | |
const char * | gsasl_strerror (int err) |
const char * | gsasl_strerror_name (int err) |
Variables | |
struct { | |
int rc | |
const char * name | |
const char * description | |
} | errors [] |
#define N_ | ( | String | ) | gettext_noop (String) |
const char * gsasl_strerror | ( | int | err | ) |
gsasl_strerror: @err: libgsasl error code
Convert return code to human readable string explanation of the reason for the particular error code.
This string can be used to output a diagnostic message to the user.
This function is one of few in the library that can be used without a successful call to gsasl_init().
Return value: Returns a pointer to a statically allocated string containing an explanation of the error code @err.
Definition at line 184 of file error.c.
References _, bindtextdomain, errors, LOCALEDIR, N_, p, and PACKAGE.
Referenced by main(), and mkpasswd().
const char * gsasl_strerror_name | ( | int | err | ) |
gsasl_strerror_name: @err: libgsasl error code
Convert return code to human readable string representing the error code symbol itself. For example, gsasl_strerror_name(GSASL_OK) returns the string "GSASL_OK".
This string can be used to output a diagnostic message to the user.
This function is one of few in the library that can be used without a successful call to gsasl_init().
Return value: Returns a pointer to a statically allocated string containing a string version of the error code @err, or NULL if the error code is not known.
Since: 0.2.29
Definition at line 222 of file error.c.
References errors.
Referenced by main().
struct { ... } errors[] |
Referenced by gsasl_strerror(), and gsasl_strerror_name().
const char* name |
Definition at line 37 of file error.c.
Referenced by _gsasl_listmech(), _gsasl_support_p(), base_len(), cmdline_parser_internal(), find_mechanism(), getprogname(), gsasl_client_support_p(), gsasl_server_support_p(), last_component(), main(), process_long_option(), rpl_fstat(), and rpl_stat().
int rc |
Definition at line 36 of file error.c.
Referenced by _gsasl_anonymous_server_step(), _gsasl_cram_md5_client_step(), _gsasl_cram_md5_server_start(), _gsasl_digest_md5_client_start(), _gsasl_digest_md5_client_step(), _gsasl_digest_md5_server_start(), _gsasl_digest_md5_server_step(), _gsasl_external_server_step(), _gsasl_hash(), _gsasl_hmac(), _gsasl_listmech(), _gsasl_pbkdf2(), _gsasl_scram_client_step(), _gsasl_scram_server_step(), callback(), cram_md5_challenge(), digest_md5_hmac(), digest_md5_parse_challenge(), digest_md5_parse_finish(), digest_md5_parse_response(), extract_serverkey(), gc_cipher_open(), gc_cipher_setiv(), gc_cipher_setkey(), gc_hash_open(), gc_pbkdf2_prf(), gsasl_init(), gss_encapsulate_token(), imap_authenticate(), imap_step_send(), main(), poll(), register_builtin_mechs(), scram_start(), smtp_authenticate(), smtp_step_send(), and vasnprintf().