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 63 of file gsasl-compat.h.
| typedef int(* Gsasl_client_callback_anonymous)(Gsasl_session *sctx, char *out, size_t *outlen) |
Definition at line 158 of file gsasl-compat.h.
| typedef int(* Gsasl_client_callback_authentication_id)(Gsasl_session *sctx, char *out, size_t *outlen) |
Definition at line 160 of file gsasl-compat.h.
| typedef int(* Gsasl_client_callback_authorization_id)(Gsasl_session *sctx, char *out, size_t *outlen) |
Definition at line 163 of file gsasl-compat.h.
| typedef size_t(* Gsasl_client_callback_maxbuf)(Gsasl_session *sctx, size_t servermaxbuf) |
Definition at line 182 of file gsasl-compat.h.
| typedef int(* Gsasl_client_callback_passcode)(Gsasl_session *sctx, char *out, size_t *outlen) |
Definition at line 168 of file gsasl-compat.h.
| typedef int(* Gsasl_client_callback_password)(Gsasl_session *sctx, char *out, size_t *outlen) |
Definition at line 166 of file gsasl-compat.h.
| typedef int(* Gsasl_client_callback_pin)(Gsasl_session *sctx, char *suggestion, char *out, size_t *outlen) |
Definition at line 170 of file gsasl-compat.h.
| typedef Gsasl_qop(* Gsasl_client_callback_qop)(Gsasl_session *sctx, Gsasl_qop serverqops) |
Definition at line 180 of file gsasl-compat.h.
| typedef int(* Gsasl_client_callback_realm)(Gsasl_session *sctx, char *out, size_t *outlen) |
Definition at line 184 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 173 of file gsasl-compat.h.
| typedef int(* Gsasl_server_callback_anonymous)(Gsasl_session *sctx, const char *token) |
Definition at line 217 of file gsasl-compat.h.
| typedef Gsasl_cipher(* Gsasl_server_callback_cipher)(Gsasl_session *sctx) |
Definition at line 223 of file gsasl-compat.h.
| typedef int(* Gsasl_server_callback_cram_md5)(Gsasl_session *sctx, char *username, char *challenge, char *response) |
Definition at line 204 of file gsasl-compat.h.
| typedef int(* Gsasl_server_callback_digest_md5)(Gsasl_session *sctx, char *username, char *realm, char *secrethash) |
Definition at line 208 of file gsasl-compat.h.
| typedef int(* Gsasl_server_callback_external)(Gsasl_session *sctx) |
Definition at line 216 of file gsasl-compat.h.
| typedef int(* Gsasl_server_callback_gssapi)(Gsasl_session *sctx, const char *clientname, const char *authentication_id) |
Definition at line 195 of file gsasl-compat.h.
| typedef size_t(* Gsasl_server_callback_maxbuf)(Gsasl_session *sctx) |
Definition at line 222 of file gsasl-compat.h.
| typedef Gsasl_qop(* Gsasl_server_callback_qop)(Gsasl_session *sctx) |
Definition at line 221 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 219 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 186 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 198 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 211 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 191 of file gsasl-compat.h.
| anonymous enum |
Definition at line 34 of file gsasl-compat.h.
| GSASL_API 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 596 of file obsolete.c.
References Gsasl_session::application_data.
Referenced by gsasl_client_application_data_get(), and gsasl_server_application_data_get().
| GSASL_API 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 577 of file obsolete.c.
References Gsasl_session::application_data.
Referenced by gsasl_client_application_data_set(), and gsasl_server_application_data_set().
| GSASL_API 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 558 of file obsolete.c.
References Gsasl::application_hook.
| GSASL_API 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 539 of file obsolete.c.
References Gsasl::application_hook.
| GSASL_API 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 1794 of file obsolete.c.
References gsasl_base64_from().
| GSASL_API 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 1759 of file obsolete.c.
References gsasl_base64_to().
| GSASL_API 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 350 of file obsolete.c.
References gsasl_appinfo_get().
| GSASL_API 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 329 of file obsolete.c.
References gsasl_appinfo_set().
| GSASL_API 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 897 of file obsolete.c.
References Gsasl::cbc_anonymous.
Referenced by _gsasl_obsolete_property_map().
| GSASL_API 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 878 of file obsolete.c.
References Gsasl::cbc_anonymous.
| GSASL_API 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 654 of file obsolete.c.
References Gsasl::cbc_authentication_id.
Referenced by _gsasl_kerberos_v5_client_step(), and _gsasl_obsolete_property_map().
| GSASL_API 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 634 of file obsolete.c.
References Gsasl::cbc_authentication_id.
| GSASL_API 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 694 of file obsolete.c.
References Gsasl::cbc_authorization_id.
Referenced by _gsasl_kerberos_v5_client_step(), and _gsasl_obsolete_property_map().
| GSASL_API 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 674 of file obsolete.c.
References Gsasl::cbc_authorization_id.
| GSASL_API 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 977 of file obsolete.c.
References Gsasl::cbc_maxbuf.
Referenced by _gsasl_kerberos_v5_client_step().
| GSASL_API 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 958 of file obsolete.c.
References Gsasl::cbc_maxbuf.
| GSASL_API 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 774 of file obsolete.c.
References Gsasl::cbc_passcode.
Referenced by _gsasl_obsolete_property_map().
| GSASL_API 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 754 of file obsolete.c.
References Gsasl::cbc_passcode.
| GSASL_API 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 734 of file obsolete.c.
References Gsasl::cbc_password.
Referenced by _gsas