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)  

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

Go to the source code of this file.

Data Structures

struct  _Gsasl_login_server_state
 

Macros

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

Functions

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

Macro Definition Documentation

◆ CHALLENGE_PASSWORD

#define CHALLENGE_PASSWORD   "Password"

Definition at line 44 of file server.c.

◆ CHALLENGE_USERNAME

#define CHALLENGE_USERNAME   "User Name"

Definition at line 43 of file server.c.

Function Documentation

◆ _gsasl_login_server_finish()

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

◆ _gsasl_login_server_start()

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

Definition at line 47 of file server.c.

References GSASL_MALLOC_ERROR, GSASL_OK, and NULL.

◆ _gsasl_login_server_step()