plain.h File Reference

#include <gsasl.h>

Go to the source code of this file.

Defines

#define GSASL_PLAIN_NAME   "PLAIN"

Functions

int _gsasl_plain_client_step (Gsasl_session *sctx, void *mech_data, const char *input, size_t input_len, char **output, size_t *output_len)
int _gsasl_plain_server_step (Gsasl_session *sctx, void *mech_data, const char *input, size_t input_len, char **output, size_t *output_len)

Variables

Gsasl_mechanism gsasl_plain_mechanism


Define Documentation

#define GSASL_PLAIN_NAME   "PLAIN"

Definition at line 28 of file plain.h.


Function Documentation

int _gsasl_plain_client_step ( Gsasl_session sctx,
void *  mech_data,
const char *  input,
size_t  input_len,
char **  output,
size_t *  output_len 
)

Definition at line 37 of file plain/client.c.

References GSASL_AUTHID, GSASL_AUTHZID, GSASL_MALLOC_ERROR, GSASL_NO_AUTHID, GSASL_NO_PASSWORD, GSASL_OK, GSASL_PASSWORD, and gsasl_property_get().

int _gsasl_plain_server_step ( Gsasl_session sctx,
void *  mech_data,
const char *  input,
size_t  input_len,
char **  output,
size_t *  output_len 
)

Definition at line 37 of file plain/server.c.

References GSASL_ALLOW_UNASSIGNED, GSASL_AUTHENTICATION_ERROR, GSASL_AUTHID, GSASL_AUTHZID, gsasl_callback(), GSASL_MALLOC_ERROR, GSASL_MECHANISM_PARSE_ERROR, GSASL_NEEDS_MORE, GSASL_NO_CALLBACK, GSASL_NO_PASSWORD, GSASL_OK, GSASL_PASSWORD, gsasl_property_get(), gsasl_property_set(), gsasl_saslprep(), and GSASL_VALIDATE_SIMPLE.


Variable Documentation

Gsasl_mechanism gsasl_plain_mechanism

Definition at line 30 of file plain/mechinfo.c.


Generated on Tue Aug 22 12:06:07 2006 for gsasl by  doxygen 1.4.7