Go to the source code of this file.
#define __attribute__ | ( | Spec | ) |
Definition at line 29 of file gsasl-compat.h.
typedef Gsasl_session Gsasl_session_ctx __attribute__((deprecated)) |
Definition at line 64 of file gsasl-compat.h.
typedef Gsasl Gsasl_ctx __attribute__((deprecated)) |
Definition at line 63 of file gsasl-compat.h.
typedef int(*) Gsasl_client_callback_anonymous(Gsasl_session *sctx, char *out, size_t *outlen) |
Definition at line 148 of file gsasl-compat.h.
typedef int(*) Gsasl_client_callback_authentication_id(Gsasl_session *sctx, char *out, size_t *outlen) |
Definition at line 150 of file gsasl-compat.h.
typedef int(*) Gsasl_client_callback_authorization_id(Gsasl_session *sctx, char *out, size_t *outlen) |
Definition at line 153 of file gsasl-compat.h.
typedef size_t(*) Gsasl_client_callback_maxbuf(Gsasl_session *sctx, size_t servermaxbuf) |
Definition at line 172 of file gsasl-compat.h.
typedef int(*) Gsasl_client_callback_passcode(Gsasl_session *sctx, char *out, size_t *outlen) |
Definition at line 158 of file gsasl-compat.h.
typedef int(*) Gsasl_client_callback_password(Gsasl_session *sctx, char *out, size_t *outlen) |
Definition at line 156 of file gsasl-compat.h.
typedef int(*) Gsasl_client_callback_pin(Gsasl_session *sctx, char *suggestion, char *out, size_t *outlen) |
Definition at line 160 of file gsasl-compat.h.
typedef Gsasl_qop(*) Gsasl_client_callback_qop(Gsasl_session *sctx, Gsasl_qop serverqops) |
Definition at line 170 of file gsasl-compat.h.
typedef int(*) Gsasl_client_callback_realm(Gsasl_session *sctx, char *out, size_t *outlen) |
Definition at line 174 of file gsasl-compat.h.
typedef int(*) Gsasl_client_callback_service(Gsasl_session *sctx, char *service, size_t *servicelen, char *hostname, size_t *hostnamelen, char *servicename, size_t *servicenamelen) |
Definition at line 163 of file gsasl-compat.h.
typedef int(*) Gsasl_server_callback_anonymous(Gsasl_session *sctx, const char *token) |
Definition at line 207 of file gsasl-compat.h.
typedef Gsasl_cipher(*) Gsasl_server_callback_cipher(Gsasl_session *sctx) |
Definition at line 213 of file gsasl-compat.h.
typedef int(*) Gsasl_server_callback_cram_md5(Gsasl_session *sctx, char *username, char *challenge, char *response) |
Definition at line 194 of file gsasl-compat.h.
typedef int(*) Gsasl_server_callback_digest_md5(Gsasl_session *sctx, char *username, char *realm, char *secrethash) |
Definition at line 198 of file gsasl-compat.h.
typedef int(*) Gsasl_server_callback_external(Gsasl_session *sctx) |
Definition at line 206 of file gsasl-compat.h.
typedef int(*) Gsasl_server_callback_gssapi(Gsasl_session *sctx, const char *clientname, const char *authentication_id) |
Definition at line 185 of file gsasl-compat.h.
typedef size_t(*) Gsasl_server_callback_maxbuf(Gsasl_session *sctx) |
Definition at line 212 of file gsasl-compat.h.
typedef Gsasl_qop(*) Gsasl_server_callback_qop(Gsasl_session *sctx) |
Definition at line 211 of file gsasl-compat.h.
typedef int(*) Gsasl_server_callback_realm(Gsasl_session *sctx, char *out, size_t *outlen, size_t nth) |
Definition at line 209 of file gsasl-compat.h.
typedef int(*) Gsasl_server_callback_retrieve(Gsasl_session *sctx, const char *authentication_id, const char *authorization_id, const char *realm, char *key, size_t *keylen) |
Definition at line 176 of file gsasl-compat.h.
typedef int(*) Gsasl_server_callback_securid(Gsasl_session *sctx, const char *authentication_id, const char *authorization_id, const char *passcode, char *pin, char *suggestpin, size_t *suggestpinlen) |
Definition at line 188 of file gsasl-compat.h.
typedef int(*) Gsasl_server_callback_service(Gsasl_session *sctx, char *service, size_t *servicelen, char *hostname, size_t *hostnamelen) |
Definition at line 201 of file gsasl-compat.h.
typedef int(*) Gsasl_server_callback_validate(Gsasl_session *sctx, const char *authorization_id, const char *authentication_id, const char *password) |
Definition at line 181 of file gsasl-compat.h.
anonymous enum |
Definition at line 34 of file gsasl-compat.h.
void* gsasl_appinfo_get | ( | Gsasl_session * | sctx | ) |
gsasl_appinfo_get:
sctx | libgsasl session handle. |
Return value: Returns the application specific data, or NULL.
Deprecated: Use gsasl_callback_hook_get() instead.
Definition at line 594 of file obsolete.c.
References Gsasl_session::application_data.
Referenced by gsasl_client_application_data_get(), and gsasl_server_application_data_get().
void gsasl_appinfo_set | ( | Gsasl_session * | sctx, | |
void * | appdata | |||
) |
gsasl_appinfo_set:
sctx | libgsasl session handle. | |
appdata | opaque pointer to application specific data. |
Deprecated: Use gsasl_callback_hook_set() instead.
Definition at line 575 of file obsolete.c.
References Gsasl_session::application_data.
Referenced by gsasl_client_application_data_set(), and gsasl_server_application_data_set().
void* gsasl_application_data_get | ( | Gsasl * | ctx | ) |
gsasl_application_data_get:
ctx | libgsasl handle. |
Return value: Returns the application specific data, or NULL.
Deprecated: Use gsasl_callback_hook_get() instead.
Definition at line 556 of file obsolete.c.
References Gsasl::application_hook.
void gsasl_application_data_set | ( | Gsasl * | ctx, | |
void * | appdata | |||
) |
gsasl_application_data_set:
ctx | libgsasl handle. | |
appdata | opaque pointer to application specific data. |
Deprecated: Use gsasl_callback_hook_set() instead.
Definition at line 537 of file obsolete.c.
References Gsasl::application_hook.
int gsasl_base64_decode | ( | char const * | src, | |
char * | target, | |||
size_t | targsize | |||
) |
gsasl_base64_decode:
src | input byte array | |
target | output byte array | |
targsize | size of output byte array |
Return value: Returns the number of data bytes stored at the target, or -1 on error.
Deprecated: Use gsasl_base64_from() instead.
Definition at line 1886 of file obsolete.c.
int gsasl_base64_encode | ( | char const * | src, | |
size_t | srclength, | |||
char * | target, | |||
size_t | targsize | |||
) |
gsasl_base64_encode:
src | input byte array | |
srclength | size of input byte array | |
target | output byte array | |
targsize | size of output byte array |
Return value: Returns the number of data bytes stored at the target, or -1 on error.
Deprecated: Use gsasl_base64_to() instead.
Definition at line 1807 of file obsolete.c.
References Assert.
void* gsasl_client_application_data_get | ( | Gsasl_session * | sctx | ) |
gsasl_client_application_data_get:
sctx | libgsasl client handle. |
Return value: Returns the application specific data, or NULL.
Deprecated: Use gsasl_callback_hook_get() or gsasl_session_hook_get() instead.
Definition at line 348 of file obsolete.c.
References gsasl_appinfo_get().
void gsasl_client_application_data_set | ( | Gsasl_session * | sctx, | |
void * | application_data | |||
) |
gsasl_client_application_data_set:
sctx | libgsasl client handle. | |
application_data | opaque pointer to application specific data. |
Deprecated: Use gsasl_callback_hook_set() or gsasl_session_hook_set() instead.
Definition at line 327 of file obsolete.c.
References gsasl_appinfo_set().
Gsasl_client_callback_anonymous gsasl_client_callback_anonymous_get | ( | Gsasl * | ctx | ) |
gsasl_client_callback_anonymous_get:
ctx | libgsasl handle. |
Deprecated: This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.
Definition at line 895 of file obsolete.c.
References Gsasl::cbc_anonymous.
Referenced by gsasl_property_get().
void gsasl_client_callback_anonymous_set | ( | Gsasl * | ctx, | |
Gsasl_client_callback_anonymous | cb | |||
) |
gsasl_client_callback_anonymous_set:
ctx | libgsasl handle. | |
cb | callback function |
Deprecated: This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.
Definition at line 876 of file obsolete.c.
References Gsasl::cbc_anonymous.
Gsasl_client_callback_authentication_id gsasl_client_callback_authentication_id_get | ( | Gsasl * | ctx | ) |
gsasl_client_callback_authentication_id_get:
ctx | libgsasl handle. |
Deprecated: This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.
Definition at line 652 of file obsolete.c.
References Gsasl::cbc_authentication_id.
Referenced by _gsasl_kerberos_v5_client_step(), and gsasl_property_get().
void gsasl_client_callback_authentication_id_set | ( | Gsasl * | ctx, | |
Gsasl_client_callback_authentication_id | cb | |||
) |
gsasl_client_callback_authentication_id_set:
ctx | libgsasl handle. | |
cb | callback function |
Deprecated: This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.
Definition at line 632 of file obsolete.c.
References Gsasl::cbc_authentication_id.
Gsasl_client_callback_authorization_id gsasl_client_callback_authorization_id_get | ( | Gsasl * | ctx | ) |
gsasl_client_callback_authorization_id_get:
ctx | libgsasl handle. |
Deprecated: This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.
Definition at line 692 of file obsolete.c.
References Gsasl::cbc_authorization_id.
Referenced by _gsasl_kerberos_v5_client_step(), and gsasl_property_get().
void gsasl_client_callback_authorization_id_set | ( | Gsasl * | ctx, | |
Gsasl_client_callback_authorization_id | cb | |||
) |
gsasl_client_callback_authorization_id_set:
ctx | libgsasl handle. | |
cb | callback function |
Deprecated: This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.
Definition at line 672 of file obsolete.c.
References Gsasl::cbc_authorization_id.
Gsasl_client_callback_maxbuf gsasl_client_callback_maxbuf_get | ( | Gsasl * | ctx | ) |
gsasl_client_callback_maxbuf_get:
ctx | libgsasl handle. |
Deprecated: This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.
Definition at line 975 of file obsolete.c.
References Gsasl::cbc_maxbuf.
Referenced by _gsasl_kerberos_v5_client_step().
void gsasl_client_callback_maxbuf_set | ( | Gsasl * | ctx, | |
Gsasl_client_callback_maxbuf | cb | |||
) |
gsasl_client_callback_maxbuf_set:
ctx | libgsasl handle. | |
cb | callback function |
Deprecated: This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.
Definition at line 956 of file obsolete.c.
References Gsasl::cbc_maxbuf.
Gsasl_client_callback_passcode gsasl_client_callback_passcode_get | ( | Gsasl * | ctx | ) |
gsasl_client_callback_passcode_get:
ctx | libgsasl handle. |
Deprecated: This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.
Definition at line 772 of file obsolete.c.
References Gsasl::cbc_passcode.
Referenced by gsasl_property_get().
void gsasl_client_callback_passcode_set | ( | Gsasl * | ctx, | |
Gsasl_client_callback_passcode | cb | |||
) |
gsasl_client_callback_passcode_set:
ctx | libgsasl handle. | |
cb | callback function |
Deprecated: This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.
Definition at line 752 of file obsolete.c.
References Gsasl::cbc_passcode.
Gsasl_client_callback_password gsasl_client_callback_password_get | ( | Gsasl * | ctx | ) |
gsasl_client_callback_password_get:
ctx | libgsasl handle. |
Deprecated: This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.
Definition at line 732 of file obsolete.c.
References Gsasl::cbc_password.
Referenced by _gsasl_kerberos_v5_client_step(), and gsasl_property_get().
void gsasl_client_callback_password_set | ( | Gsasl * | ctx, | |
Gsasl_client_callback_password | cb | |||
) |
gsasl_client_callback_password_set:
ctx | libgsasl handle. | |
cb | callback function |
Deprecated: This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.
Definition at line 712 of file obsolete.c.
References Gsasl::cbc_password.
Gsasl_client_callback_pin gsasl_client_callback_pin_get | ( | Gsasl * | ctx | ) |
gsasl_client_callback_pin_get:
ctx | libgsasl handle. |
Deprecated: This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.
Definition at line 813 of file obsolete.c.
References Gsasl::cbc_pin.
Referenced by gsasl_property_get().
void gsasl_client_callback_pin_set | ( | Gsasl * | ctx, | |
Gsasl_client_callback_pin | cb | |||
) |
gsasl_client_callback_pin_set:
ctx | libgsasl handle. | |
cb | callback function |
Deprecated: This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.
Definition at line 794 of file obsolete.c.
References Gsasl::cbc_pin.
Gsasl_client_callback_qop gsasl_client_callback_qop_get | ( | Gsasl * | ctx | ) |
gsasl_client_callback_qop_get:
ctx | libgsasl handle. |
Deprecated: This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.
Definition at line 933 of file obsolete.c.
References Gsasl::cbc_qop.
Referenced by _gsasl_kerberos_v5_client_step().
void gsasl_client_callback_qop_set | ( | Gsasl * | ctx, | |
Gsasl_client_callback_qop | cb | |||
) |
gsasl_client_callback_qop_set:
ctx | libgsasl handle. | |
cb | callback function |
Deprecated: This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.
Definition at line 915 of file obsolete.c.
References Gsasl::cbc_qop.
Gsasl_client_callback_realm gsasl_client_callback_realm_get | ( | Gsasl * | ctx | ) |
gsasl_client_callback_realm_get:
ctx | libgsasl handle. |
Deprecated: This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.
Definition at line 1014 of file obsolete.c.
References Gsasl::cbc_realm.
Referenced by _gsasl_kerberos_v5_client_step(), and gsasl_property_get().
void gsasl_client_callback_realm_set | ( | Gsasl * | ctx, | |
Gsasl_client_callback_realm | cb | |||
) |
gsasl_client_callback_realm_set:
ctx | libgsasl handle. | |
cb | callback function |
Deprecated: This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.
Definition at line 996 of file obsolete.c.
References Gsasl::cbc_realm.
Gsasl_client_callback_service gsasl_client_callback_service_get | ( | Gsasl * | ctx | ) |
gsasl_client_callback_service_get:
ctx | libgsasl handle. |
Deprecated: This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.
Definition at line 855 of file obsolete.c.
References Gsasl::cbc_service.
Referenced by _gsasl_kerberos_v5_client_step(), and gsasl_property_get().
void gsasl_client_callback_service_set | ( | Gsasl * | ctx, | |
Gsasl_client_callback_service | cb | |||
) |
gsasl_client_callback_service_set:
ctx | libgsasl handle. | |
cb | callback function |
Deprecated: This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.
Definition at line 836 of file obsolete.c.
References Gsasl::cbc_service.
Gsasl* gsasl_client_ctx_get | ( | Gsasl_session * | sctx | ) |
gsasl_client_ctx_get:
sctx | libgsasl client handle |
Deprecated: This function is not useful with the new 0.2.0 API.
Definition at line 307 of file obsolete.c.
References Gsasl_session::ctx.
Referenced by _gsasl_kerberos_v5_client_step().
void gsasl_client_finish | ( | Gsasl_session * | sctx | ) |
gsasl_client_finish:
sctx | libgsasl client handle. |
Deprecated: Use gsasl_finish() instead.
Definition at line 278 of file obsolete.c.
References gsasl_finish().
int gsasl_client_listmech | ( | Gsasl * | ctx, | |
char * | out, | |||
size_t * | outlen | |||
) |
gsasl_client_listmech:
ctx | libgsasl handle. | |
out | output character array. | |
outlen | input maximum size of output character array, on output contains actual length of output array. |
Return value: Returns GSASL_OK if successful, or error code.
Deprecated: Use gsasl_client_mechlist() instead.
Definition at line 41 of file obsolete.c.
References gsasl_client_mechlist(), GSASL_OK, and GSASL_TOO_SMALL_BUFFER.
int gsasl_client_step | ( | Gsasl_session * | sctx, | |
const char * | input, | |||
size_t | input_len, | |||
char * | output, | |||
size_t * | output_len | |||
) |
gsasl_client_step:
sctx | libgsasl client handle. | |
input | input byte array. | |
input_len | size of input byte array. | |
output | output byte array. | |
output_len | size of output byte array. |
The contents of the output buffer is unspecified if this functions returns anything other than GSASL_NEEDS_MORE.
Return value: Returns GSASL_OK if authenticated terminated successfully, GSASL_NEEDS_MORE if more data is needed, or error code.
Deprecated: Use gsasl_step() instead.
Definition at line 161 of file obsolete.c.
int gsasl_client_step_base64 | ( | Gsasl_session * | sctx, | |
const char * | b64input, | |||
char * | b64output, | |||
size_t | b64output_len | |||
) |
gsasl_client_step_base64:
sctx | libgsasl client handle. | |
b64input | input base64 encoded byte array. | |
b64output | output base64 encoded byte array. | |
b64output_len | size of output base64 encoded byte array. |
Return value: See gsasl_client_step().
Deprecated: Use gsasl_step64() instead.
Definition at line 239 of file obsolete.c.
Gsasl* gsasl_ctx_get | ( | Gsasl_session * | sctx | ) |
gsasl_ctx_get:
sctx | libgsasl session handle |
Deprecated: This function is not useful with the new 0.2.0 API.
Definition at line 438 of file obsolete.c.
References Gsasl_session::ctx.
int gsasl_decode_inline | ( | Gsasl_session * | sctx, | |
const char * | input, | |||
size_t | input_len, | |||
char * | output, | |||
size_t * | output_len | |||
) |
gsasl_decode_inline:
sctx | libgsasl session handle. | |
input | input byte array. | |
input_len | size of input byte array. | |
output | output byte array. | |
output_len | size of output byte array. |
Return value: Returns GSASL_OK if encoding was successful, otherwise an error code.
Deprecated: Use gsasl_decode() instead.
Since: 0.2.0
Definition at line 502 of file obsolete.c.
References gsasl_decode(), GSASL_OK, and GSASL_TOO_SMALL_BUFFER.
int gsasl_encode_inline | ( | Gsasl_session * | sctx, | |
const char * | input, | |||
size_t | input_len, | |||
char * | output, | |||
size_t * | output_len | |||
) |
gsasl_encode_inline:
sctx | libgsasl session handle. | |
input | input byte array. | |
input_len | size of input byte array. | |
output | output byte array. | |
output_len | size of output byte array. |
Return value: Returns GSASL_OK if encoding was successful, otherwise an error code.
Deprecated: Use gsasl_encode() instead.
Since: 0.2.0
Definition at line 462 of file obsolete.c.
References gsasl_encode(), GSASL_OK, and GSASL_TOO_SMALL_BUFFER.
int gsasl_md5pwd_get_password | ( | const char * | filename, | |
const char * | username, | |||
char * | key, | |||
size_t * | keylen | |||
) |
gsasl_md5pwd_get_password:
filename | filename of file containing passwords. | |
username | username string. | |
key | output character array. | |
keylen | input maximum size of output character array, on output contains actual length of output array. |
The file should be on the UoW "MD5 Based Authentication" format, which means it is in text format with comments denoted by # first on the line, with user entries looking as "usernameTABpassword". This function removes CR and LF at the end of lines before processing. TAB, CR, and LF denote ASCII values 9, 13, and 10, respectively.
Return value: Return GSASL_OK if output buffer contains the password, GSASL_AUTHENTICATION_ERROR if the user could not be found, or other error code.
Deprecated: Use gsasl_simple_getpass() instead.
Definition at line 1685 of file obsolete.c.
References GSASL_AUTHENTICATION_ERROR, GSASL_FCLOSE_ERROR, GSASL_FOPEN_ERROR, GSASL_OK, and GSASL_TOO_SMALL_BUFFER.
int gsasl_randomize | ( | int | strong, | |
char * | data, | |||
size_t | datalen | |||
) |
gsasl_randomize:
strong | 0 iff operation should not block, non-0 for very strong randomness. | |
data | output array to be filled with random data. | |
datalen | size of output array. |
Return value: Returns GSASL_OK iff successful.
Deprecated: Use gsasl_random() or gsasl_nonce() instead.
Definition at line 422 of file obsolete.c.
References gsasl_nonce(), and gsasl_random().
void* gsasl_server_application_data_get | ( | Gsasl_session * | sctx | ) |
gsasl_server_application_data_get:
sctx | libgsasl server handle. |
Return value: Returns the application specific data, or NULL.
Deprecated: Use gsasl_callback_hook_get() or gsasl_session_hook_get() instead.
Definition at line 403 of file obsolete.c.
References gsasl_appinfo_get().
void gsasl_server_application_data_set | ( | Gsasl_session * | sctx, | |
void * | application_data | |||
) |
gsasl_server_application_data_set:
sctx | libgsasl server handle. | |
application_data | opaque pointer to application specific data. |
Deprecated: Use gsasl_callback_hook_set() or gsasl_session_hook_set() instead.
Definition at line 382 of file obsolete.c.
References gsasl_appinfo_set().
Gsasl_server_callback_anonymous gsasl_server_callback_anonymous_get | ( | Gsasl * | ctx | ) |
gsasl_server_callback_anonymous_get:
ctx | libgsasl handle. |
Deprecated: This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.
Definition at line 1252 of file obsolete.c.
References Gsasl::cbs_anonymous.
Referenced by gsasl_callback().
void gsasl_server_callback_anonymous_set | ( | Gsasl * | ctx, | |
Gsasl_server_callback_anonymous | cb | |||
) |
gsasl_server_callback_anonymous_set:
ctx | libgsasl handle. | |
cb | callback function |
Deprecated: This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.
Definition at line 1233 of file obsolete.c.
References Gsasl::cbs_anonymous.
Gsasl_server_callback_cipher gsasl_server_callback_cipher_get | ( | Gsasl * | ctx | ) |
gsasl_server_callback_cipher_get:
ctx | libgsasl handle. |
Deprecated: This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.
Definition at line 1414 of file obsolete.c.
References Gsasl::cbs_cipher.
void gsasl_server_callback_cipher_set | ( | Gsasl * | ctx, | |
Gsasl_server_callback_cipher | cb | |||
) |
gsasl_server_callback_cipher_set:
ctx | libgsasl handle. | |
cb | callback function |
Deprecated: This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.
Definition at line 1395 of file obsolete.c.
References Gsasl::cbs_cipher.
Gsasl_server_callback_cram_md5 gsasl_server_callback_cram_md5_get | ( | Gsasl * | ctx | ) |
gsasl_server_callback_cram_md5_get:
ctx | libgsasl handle. |
Deprecated: This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.
Definition at line 1134 of file obsolete.c.
References Gsasl::cbs_cram_md5.
void gsasl_server_callback_cram_md5_set | ( | Gsasl * | ctx, | |
Gsasl_server_callback_cram_md5 | cb | |||
) |
gsasl_server_callback_cram_md5_set:
ctx | libgsasl handle. | |
cb | callback function |
Deprecated: This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.
Definition at line 1115 of file obsolete.c.
References Gsasl::cbs_cram_md5.
Gsasl_server_callback_digest_md5 gsasl_server_callback_digest_md5_get | ( | Gsasl * | ctx | ) |
gsasl_server_callback_digest_md5_get:
ctx | libgsasl handle. |
Deprecated: This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.
Definition at line 1174 of file obsolete.c.
References Gsasl::cbs_digest_md5.
void gsasl_server_callback_digest_md5_set | ( | Gsasl * | ctx, | |
Gsasl_server_callback_digest_md5 | cb | |||
) |
gsasl_server_callback_digest_md5_set:
ctx | libgsasl handle. | |
cb | callback function |
Deprecated: This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.
Definition at line 1155 of file obsolete.c.
References Gsasl::cbs_digest_md5.
Gsasl_server_callback_external gsasl_server_callback_external_get | ( | Gsasl * | ctx | ) |
gsasl_server_callback_external_get:
ctx | libgsasl handle. |
Deprecated: This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.
Definition at line 1213 of file obsolete.c.
References Gsasl::cbs_external.
Referenced by gsasl_callback().
void gsasl_server_callback_external_set | ( | Gsasl * | ctx, | |
Gsasl_server_callback_external | cb | |||
) |
gsasl_server_callback_external_set:
ctx | libgsasl handle. | |
cb | callback function |
Deprecated: This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.
Definition at line 1194 of file obsolete.c.
References Gsasl::cbs_external.
Gsasl_server_callback_gssapi gsasl_server_callback_gssapi_get | ( | Gsasl * | ctx | ) |
gsasl_server_callback_gssapi_get:
ctx | libgsasl handle. |
Deprecated: This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.
Definition at line 1502 of file obsolete.c.
References Gsasl::cbs_gssapi.
Referenced by gsasl_callback().
void gsasl_server_callback_gssapi_set | ( | Gsasl * | ctx, | |
Gsasl_server_callback_gssapi | cb | |||
) |
gsasl_server_callback_gssapi_set:
ctx | libgsasl handle. | |
cb | callback function |
Deprecated: This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.
Definition at line 1483 of file obsolete.c.
References Gsasl::cbs_gssapi.
Gsasl_server_callback_maxbuf gsasl_server_callback_maxbuf_get | ( | Gsasl * | ctx | ) |
gsasl_server_callback_maxbuf_get:
ctx | libgsasl handle. |
Deprecated: This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.
Definition at line 1373 of file obsolete.c.
References Gsasl::cbs_maxbuf.
Referenced by _gsasl_kerberos_v5_server_step().
void gsasl_server_callback_maxbuf_set | ( | Gsasl * | ctx, | |
Gsasl_server_callback_maxbuf | cb | |||
) |
gsasl_server_callback_maxbuf_set:
ctx | libgsasl handle. | |
cb | callback function |
Deprecated: This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.
Definition at line 1354 of file obsolete.c.
References Gsasl::cbs_maxbuf.
Gsasl_server_callback_qop gsasl_server_callback_qop_get | ( | Gsasl * | ctx | ) |
gsasl_server_callback_qop_get:
ctx | libgsasl handle. |
Deprecated: This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.
Definition at line 1331 of file obsolete.c.
References Gsasl::cbs_qop.
Referenced by _gsasl_kerberos_v5_server_step().
void gsasl_server_callback_qop_set | ( | Gsasl * | ctx, | |
Gsasl_server_callback_qop | cb | |||
) |
gsasl_server_callback_qop_set:
ctx | libgsasl handle. | |
cb | callback function |
Deprecated: This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.
Definition at line 1313 of file obsolete.c.
References Gsasl::cbs_qop.
Gsasl_server_callback_realm gsasl_server_callback_realm_get | ( | Gsasl * | ctx | ) |
gsasl_server_callback_realm_get:
ctx | libgsasl handle. |
Deprecated: This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.
Definition at line 1291 of file obsolete.c.
References Gsasl::cbs_realm.
Referenced by _gsasl_kerberos_v5_server_step().
void gsasl_server_callback_realm_set | ( | Gsasl * | ctx, | |
Gsasl_server_callback_realm | cb | |||
) |
gsasl_server_callback_realm_set:
ctx | libgsasl handle. | |
cb | callback function |
Deprecated: This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.
Definition at line 1273 of file obsolete.c.
References Gsasl::cbs_realm.
Gsasl_server_callback_retrieve gsasl_server_callback_retrieve_get | ( | Gsasl * | ctx | ) |
gsasl_server_callback_retrieve_get:
ctx | libgsasl handle. |
Deprecated: This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.
Definition at line 1094 of file obsolete.c.
References Gsasl::cbs_retrieve.
Referenced by _gsasl_kerberos_v5_server_step(), and gsasl_callback().
void gsasl_server_callback_retrieve_set | ( | Gsasl * | ctx, | |
Gsasl_server_callback_retrieve | cb | |||
) |
gsasl_server_callback_retrieve_set:
ctx | libgsasl handle. | |
cb | callback function |
Deprecated: This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.
Definition at line 1075 of file obsolete.c.
References Gsasl::cbs_retrieve.
Gsasl_server_callback_securid gsasl_server_callback_securid_get | ( | Gsasl * | ctx | ) |
gsasl_server_callback_securid_get:
ctx | libgsasl handle. |
Deprecated: This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.
Definition at line 1460 of file obsolete.c.
References Gsasl::cbs_securid.
Referenced by gsasl_callback().
void gsasl_server_callback_securid_set | ( | Gsasl * | ctx, | |
Gsasl_server_callback_securid | cb | |||
) |
gsasl_server_callback_securid_set:
ctx | libgsasl handle. | |
cb | callback function |
Deprecated: This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.
Definition at line 1441 of file obsolete.c.
References Gsasl::cbs_securid.
Gsasl_server_callback_service gsasl_server_callback_service_get | ( | Gsasl * | ctx | ) |
gsasl_server_callback_service_get:
ctx | libgsasl handle. |
Deprecated: This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.
Definition at line 1543 of file obsolete.c.
References Gsasl::cbs_service.
Referenced by _gsasl_kerberos_v5_server_step().
void gsasl_server_callback_service_set | ( | Gsasl * | ctx, | |
Gsasl_server_callback_service | cb | |||
) |
gsasl_server_callback_service_set:
ctx | libgsasl handle. | |
cb | callback function |
Deprecated: This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.
Definition at line 1524 of file obsolete.c.
References Gsasl::cbs_service.
Gsasl_server_callback_validate gsasl_server_callback_validate_get | ( | Gsasl * | ctx | ) |
gsasl_server_callback_validate_get:
ctx | libgsasl handle. |
Deprecated: This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.
Definition at line 1054 of file obsolete.c.
References Gsasl::cbs_validate.
Referenced by gsasl_callback().
void gsasl_server_callback_validate_set | ( | Gsasl * | ctx, | |
Gsasl_server_callback_validate | cb | |||
) |
gsasl_server_callback_validate_set:
ctx | libgsasl handle. | |
cb | callback function |
Deprecated: This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.
Definition at line 1035 of file obsolete.c.
References Gsasl::cbs_validate.
Gsasl* gsasl_server_ctx_get | ( | Gsasl_session * | sctx | ) |
gsasl_server_ctx_get:
sctx | libgsasl server handle |
Deprecated: This function is not useful with the new 0.2.0 API.
Definition at line 362 of file obsolete.c.
References Gsasl_session::ctx.
Referenced by _gsasl_kerberos_v5_server_step().
void gsasl_server_finish | ( | Gsasl_session * | sctx | ) |
gsasl_server_finish:
sctx | libgsasl server handle. |
Deprecated: Use gsasl_finish() instead.
Definition at line 293 of file obsolete.c.
References gsasl_finish().
int gsasl_server_listmech | ( | Gsasl * | ctx, | |
char * | out, | |||
size_t * | outlen | |||
) |
gsasl_server_listmech:
ctx | libgsasl handle. | |
out | output character array. | |
outlen | input maximum size of output character array, on output contains actual length of output array. |
Return value: Returns GSASL_OK if successful, or error code.
Deprecated: Use gsasl_server_mechlist() instead.
Definition at line 83 of file obsolete.c.
References GSASL_OK, gsasl_server_mechlist(), and GSASL_TOO_SMALL_BUFFER.
int gsasl_server_step | ( | Gsasl_session * | sctx, | |
const char * | input, | |||
size_t | input_len, | |||
char * | output, | |||
size_t * | output_len | |||
) |
gsasl_server_step:
sctx | libgsasl server handle. | |
input | input byte array. | |
input_len | size of input byte array. | |
output | output byte array. | |
output_len | size of output byte array. |
The contents of the output buffer is unspecified if this functions returns anything other than GSASL_NEEDS_MORE.
Return value: Returns GSASL_OK if authenticated terminated successfully, GSASL_NEEDS_MORE if more data is needed, or error code.
Deprecated: Use gsasl_step() instead.
Definition at line 191 of file obsolete.c.
int gsasl_server_step_base64 | ( | Gsasl_session * | sctx, | |
const char * | b64input, | |||
char * | b64output, | |||
size_t | b64output_len | |||
) |
gsasl_server_step_base64:
sctx | libgsasl server handle. | |
b64input | input base64 encoded byte array. | |
b64output | output base64 encoded byte array. | |
b64output_len | size of output base64 encoded byte array. |
Return value: See gsasl_server_step().
Deprecated: Use gsasl_step64() instead.
Definition at line 261 of file obsolete.c.
const char* gsasl_server_suggest_mechanism | ( | Gsasl * | ctx, | |
const char * | mechlist | |||
) |
gsasl_server_suggest_mechanism:
ctx | libgsasl handle. | |
mechlist | input character array with SASL mechanism names, separated by invalid characters (e.g. SPC). |
Deprecated: This function was never useful, since it is the client that chose which mechanism to use.
Definition at line 612 of file obsolete.c.
char* gsasl_stringprep_nfkc | ( | const char * | in, | |
ssize_t | len | |||
) |
gsasl_stringprep_nfkc:
in | a UTF-8 encoded string. | |
len | length of , in bytes, or -1 if is nul-terminated. |
The normalization mode is NFKC (ALL COMPOSE). It standardizes differences that do not affect the text content, such as the above-mentioned accent representation. It standardizes the "compatibility" characters in Unicode, such as SUPERSCRIPT THREE to the standard forms (in this case DIGIT THREE). Formatting information may be lost but for most text operations such characters should be considered the same. It returns a result with composed forms rather than a maximally decomposed form.
Return value: Return a newly allocated string, that is the NFKC normalized form of , o NULL on error.
Deprecated: No replacement functionality in GNU SASL, use GNU Libidn instead. Note that in SASL, you most likely want to use SASLprep and not bare NFKC, see gsasl_saslprep().
Definition at line 1579 of file obsolete.c.
char* gsasl_stringprep_saslprep | ( | const char * | in, | |
int * | stringprep_rc | |||
) |
gsasl_stringprep_saslprep:
in | input ASCII or UTF-8 string with data to prepare according to SASLprep. | |
stringprep_rc | pointer to output variable with stringprep error code, or NULL to indicate that you don't care about it. |
Return value: Return a newly allocated string that is the "SASLprep" processed form of the input string, or NULL on error, in which case contain the stringprep library error code.
Deprecated: Use gsasl_saslprep() instead.
Definition at line 1610 of file obsolete.c.
char* gsasl_stringprep_trace | ( | const char * | in, | |
int * | stringprep_rc | |||
) |
gsasl_stringprep_trace:
in | input ASCII or UTF-8 string with data to prepare according to "trace". | |
stringprep_rc | pointer to output variable with stringprep error code, or NULL to indicate that you don't care about it. |
Return value: Return a newly allocated string that is the "trace" processed form of the input string, or NULL on error, in which case contain the stringprep library error code.
Deprecated: No replacement functionality in GNU SASL, use GNU Libidn instead.
Definition at line 1644 of file obsolete.c.
enum { ... } deprecated |