#include <gsasl.h>
Go to the source code of this file.
Defines | |
#define | GSASL_LOGIN_NAME "LOGIN" |
Functions | |
int | _gsasl_login_client_start (Gsasl_session *sctx, void **mech_data) |
int | _gsasl_login_client_step (Gsasl_session *sctx, void *mech_data, const char *input, size_t input_len, char **output, size_t *output_len) |
void | _gsasl_login_client_finish (Gsasl_session *sctx, void *mech_data) |
int | _gsasl_login_server_start (Gsasl_session *sctx, void **mech_data) |
int | _gsasl_login_server_step (Gsasl_session *sctx, void *mech_data, const char *input, size_t input_len, char **output, size_t *output_len) |
void | _gsasl_login_server_finish (Gsasl_session *sctx, void *mech_data) |
Variables | |
Gsasl_mechanism | gsasl_login_mechanism |
void _gsasl_login_client_finish | ( | Gsasl_session * | sctx, | |
void * | mech_data | |||
) |
Definition at line 102 of file login/client.c.
int _gsasl_login_client_start | ( | Gsasl_session * | sctx, | |
void ** | mech_data | |||
) |
int _gsasl_login_client_step | ( | Gsasl_session * | sctx, | |
void * | mech_data, | |||
const char * | input, | |||
size_t | input_len, | |||
char ** | output, | |||
size_t * | output_len | |||
) |
Definition at line 58 of file login/client.c.
References GSASL_AUTHID, GSASL_MECHANISM_CALLED_TOO_MANY_TIMES, GSASL_NEEDS_MORE, GSASL_NO_AUTHID, GSASL_NO_PASSWORD, GSASL_OK, GSASL_PASSWORD, gsasl_property_get(), and _Gsasl_login_client_state::step.
void _gsasl_login_server_finish | ( | Gsasl_session * | sctx, | |
void * | mech_data | |||
) |
Definition at line 149 of file login/server.c.
References _Gsasl_login_server_state::password, and _Gsasl_login_server_state::username.
int _gsasl_login_server_start | ( | Gsasl_session * | sctx, | |
void ** | mech_data | |||
) |
int _gsasl_login_server_step | ( | Gsasl_session * | sctx, | |
void * | mech_data, | |||
const char * | input, | |||
size_t | input_len, | |||
char ** | output, | |||
size_t * | output_len | |||
) |
Definition at line 61 of file login/server.c.
References CHALLENGE_PASSWORD, CHALLENGE_USERNAME, GSASL_AUTHENTICATION_ERROR, GSASL_AUTHID, GSASL_AUTHZID, gsasl_callback(), GSASL_MALLOC_ERROR, GSASL_MECHANISM_CALLED_TOO_MANY_TIMES, GSASL_MECHANISM_PARSE_ERROR, GSASL_NEEDS_MORE, GSASL_NO_CALLBACK, GSASL_OK, GSASL_PASSWORD, gsasl_property_get(), gsasl_property_set(), GSASL_VALIDATE_SIMPLE, _Gsasl_login_server_state::password, _Gsasl_login_server_state::step, and _Gsasl_login_server_state::username.
Definition at line 30 of file login/mechinfo.c.