login/client.c File Reference

#include <stdlib.h>
#include <string.h>
#include "login.h"

Go to the source code of this file.

Data Structures

struct  _Gsasl_login_client_state

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)


Function Documentation

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 
)

Definition at line 42 of file login/client.c.

References GSASL_MALLOC_ERROR, and GSASL_OK.

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.


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