101 const char *input,
size_t input_len,
102 char **output,
size_t *output_len);
135 const char *input,
size_t input_len,
136 char **output,
size_t *output_len);
int(* Gsasl_start_function)(Gsasl_session *sctx, void **mech_data)
int(* Gsasl_step_function)(Gsasl_session *sctx, void *mech_data, const char *input, size_t input_len, char **output, size_t *output_len)
void(* Gsasl_done_function)(Gsasl *ctx)
void(* Gsasl_finish_function)(Gsasl_session *sctx, void *mech_data)
int(* Gsasl_init_function)(Gsasl *ctx)
int(* Gsasl_code_function)(Gsasl_session *sctx, void *mech_data, const char *input, size_t input_len, char **output, size_t *output_len)
_GSASL_API int gsasl_register(Gsasl *ctx, const Gsasl_mechanism *mech)
Gsasl_start_function start
Gsasl_code_function encode
Gsasl_finish_function finish
Gsasl_code_function decode
struct Gsasl_mechanism_functions server
struct Gsasl_mechanism_functions client