#include "internal.h"
Go to the source code of this file.
Functions | |
int | gsasl_client_start (Gsasl *ctx, const char *mech, Gsasl_session **sctx) |
int | gsasl_server_start (Gsasl *ctx, const char *mech, Gsasl_session **sctx) |
int gsasl_client_start | ( | Gsasl * | ctx, | |
const char * | mech, | |||
Gsasl_session ** | sctx | |||
) |
gsasl_client_start:
ctx | libgsasl handle. | |
mech | name of SASL mechanism. | |
sctx | pointer to client handle. |
Return value: Returns GSASL_OK if successful, or error code.
Definition at line 119 of file xstart.c.
References Gsasl::client_mechs, and Gsasl::n_client_mechs.
Referenced by gsasl_client_suggest_mechanism().
int gsasl_server_start | ( | Gsasl * | ctx, | |
const char * | mech, | |||
Gsasl_session ** | sctx | |||
) |
gsasl_server_start:
ctx | libgsasl handle. | |
mech | name of SASL mechanism. | |
sctx | pointer to server handle. |
Return value: Returns GSASL_OK if successful, or error code.
Definition at line 137 of file xstart.c.
References Gsasl::n_server_mechs, and Gsasl::server_mechs.