#include "internal.h"
Go to the source code of this file.
Functions | |
int | gsasl_register (Gsasl *ctx, const Gsasl_mechanism *mech) |
int gsasl_register | ( | Gsasl * | ctx, | |
const Gsasl_mechanism * | mech | |||
) |
gsasl_register:
ctx | pointer to libgsasl handle. | |
mech | plugin structure with information about plugin. |
Return value: GSASL_OK iff successful, otherwise GSASL_MALLOC_ERROR.
Since: 0.2.0
Definition at line 38 of file register.c.
References Gsasl_mechanism::client, Gsasl::client_mechs, GSASL_MALLOC_ERROR, GSASL_OK, Gsasl_mechanism_functions::init, Gsasl::n_client_mechs, Gsasl::n_server_mechs, Gsasl_mechanism::server, and Gsasl::server_mechs.