#include <stdlib.h>
#include <string.h>
#include "x-gssapi.h"
Go to the source code of this file.
Data Structures | |
struct | _Gsasl_gssapi_server_state |
Typedefs | |
typedef _Gsasl_gssapi_server_state | _Gsasl_gssapi_server_state |
Functions | |
int | _gsasl_gssapi_server_start (Gsasl_session *sctx, void **mech_data) |
int | _gsasl_gssapi_server_step (Gsasl_session *sctx, void *mech_data, const char *input, size_t input_len, char **output, size_t *output_len) |
void | _gsasl_gssapi_server_finish (Gsasl_session *sctx, void *mech_data) |
typedef struct _Gsasl_gssapi_server_state _Gsasl_gssapi_server_state |
Definition at line 56 of file gssapi/server.c.
void _gsasl_gssapi_server_finish | ( | Gsasl_session * | sctx, | |
void * | mech_data | |||
) |
Definition at line 267 of file gssapi/server.c.
References _Gsasl_gssapi_server_state::client, _Gsasl_gssapi_server_state::context, and _Gsasl_gssapi_server_state::cred.
int _gsasl_gssapi_server_start | ( | Gsasl_session * | sctx, | |
void ** | mech_data | |||
) |
Definition at line 59 of file gssapi/server.c.
References GSASL_GSSAPI_ACQUIRE_CRED_ERROR, GSASL_GSSAPI_IMPORT_NAME_ERROR, GSASL_HOSTNAME, GSASL_MALLOC_ERROR, GSASL_NO_HOSTNAME, GSASL_NO_SERVICE, GSASL_OK, gsasl_property_get(), and GSASL_SERVICE.
int _gsasl_gssapi_server_step | ( | Gsasl_session * | sctx, | |
void * | mech_data, | |||
const char * | input, | |||
size_t | input_len, | |||
char ** | output, | |||
size_t * | output_len | |||
) |
Definition at line 121 of file gssapi/server.c.
References _Gsasl_gssapi_server_state::client, _Gsasl_gssapi_server_state::context, _Gsasl_gssapi_server_state::cred, GSASL_AUTHZID, gsasl_callback(), GSASL_GSSAPI_ACCEPT_SEC_CONTEXT_ERROR, GSASL_GSSAPI_DISPLAY_NAME, GSASL_GSSAPI_DISPLAY_NAME_ERROR, GSASL_GSSAPI_RELEASE_BUFFER_ERROR, GSASL_GSSAPI_UNSUPPORTED_PROTECTION_ERROR, GSASL_GSSAPI_UNWRAP_ERROR, GSASL_GSSAPI_WRAP_ERROR, GSASL_MALLOC_ERROR, GSASL_MECHANISM_CALLED_TOO_MANY_TIMES, GSASL_NEEDS_MORE, gsasl_property_set_raw(), GSASL_QOP_AUTH, GSASL_VALIDATE_GSSAPI, and _Gsasl_gssapi_server_state::step.