gsasl  1.8.0
Data Structures | Defines | Functions
login/server.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_server_state

Defines

#define CHALLENGE_USERNAME   "User Name"
#define CHALLENGE_PASSWORD   "Password"

Functions

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

Define Documentation

#define CHALLENGE_PASSWORD   "Password"

Definition at line 44 of file login/server.c.

#define CHALLENGE_USERNAME   "User Name"

Definition at line 43 of file login/server.c.


Function Documentation

void _gsasl_login_server_finish ( Gsasl_session sctx,
void *  mech_data 
)

Definition at line 149 of file login/server.c.

int _gsasl_login_server_start ( Gsasl_session sctx,
void **  mech_data 
)

Definition at line 47 of file login/server.c.

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

Definition at line 61 of file login/server.c.