securid/client.c File Reference

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

Go to the source code of this file.

Defines

#define PASSCODE   "passcode"
#define PIN   "pin"

Functions

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


Define Documentation

#define PASSCODE   "passcode"

Definition at line 36 of file securid/client.c.

Referenced by _gsasl_securid_client_step(), and _gsasl_securid_server_step().

#define PIN   "pin"

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

Referenced by _gsasl_securid_client_step(), and _gsasl_securid_server_step().


Function Documentation

void _gsasl_securid_client_finish ( Gsasl_session sctx,
void *  mech_data 
)

Definition at line 163 of file securid/client.c.

References _Gsasl_login_client_state::step.

int _gsasl_securid_client_start ( Gsasl_session sctx,
void **  mech_data 
)

Definition at line 40 of file securid/client.c.

References GSASL_MALLOC_ERROR, GSASL_OK, and _Gsasl_login_client_state::step.

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

Definition at line 56 of file securid/client.c.

References GSASL_AUTHID, GSASL_AUTHZID, GSASL_MALLOC_ERROR, GSASL_MECHANISM_CALLED_TOO_MANY_TIMES, GSASL_NO_AUTHID, GSASL_NO_PASSCODE, GSASL_NO_PIN, GSASL_OK, GSASL_PASSCODE, GSASL_PIN, gsasl_property_get(), gsasl_property_set_raw(), GSASL_SUGGESTED_PIN, PASSCODE, PIN, and _Gsasl_login_client_state::step.


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