gsasl  1.10.0
About: GNU SASL is an implementation of the Simple Authentication and Security Layer (SASL). Development version.
  Fossies Dox: gsasl-1.10.0.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

client.c File Reference
#include "securid.h"
#include <stdlib.h>
#include <string.h>
Include dependency graph for client.c:

Go to the source code of this file.

Macros

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

Functions

int _gsasl_securid_client_start (Gsasl_session *sctx _GL_UNUSED, 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 _GL_UNUSED, void *mech_data)
 

Macro Definition Documentation

◆ PASSCODE

#define PASSCODE   "passcode"

Definition at line 36 of file client.c.

◆ PIN

#define PIN   "pin"

Definition at line 37 of file client.c.

Function Documentation

◆ _gsasl_securid_client_finish()

void _gsasl_securid_client_finish ( Gsasl_session *sctx  _GL_UNUSED,
void *  mech_data 
)

Definition at line 164 of file client.c.

◆ _gsasl_securid_client_start()

int _gsasl_securid_client_start ( Gsasl_session *sctx  _GL_UNUSED,
void **  mech_data 
)

Definition at line 40 of file client.c.

References GSASL_MALLOC_ERROR, GSASL_OK, and NULL.

◆ _gsasl_securid_client_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 
)