gsasl  1.8.0
Functions | Variables
init.c File Reference
#include "internal.h"
#include <gc.h>
#include "cram-md5/cram-md5.h"
#include "external/external.h"
#include "gssapi/x-gssapi.h"
#include "gs2/gs2.h"
#include "anonymous/anonymous.h"
#include "plain/plain.h"
#include "securid/securid.h"
#include "digest-md5/digest-md5.h"
#include "scram/scram.h"
#include "saml20/saml20.h"
#include "openid20/openid20.h"
#include "login/login.h"
#include "ntlm/x-ntlm.h"
#include "kerberos_v5/kerberos_v5.h"

Go to the source code of this file.

Functions

int gsasl_init (Gsasl **ctx)

Variables

const char * GSASL_VALID_MECHANISM_CHARACTERS = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_"

Function Documentation

int gsasl_init ( Gsasl **  ctx)

gsasl_init:

Parameters:
ctxpointer to libgsasl handle.

This functions initializes libgsasl. The handle pointed to by ctx is valid for use with other libgsasl functions iff this function is successful. It also register all builtin SASL mechanisms, using gsasl_register().

Return value: GSASL_OK iff successful, otherwise GSASL_MALLOC_ERROR.

Definition at line 157 of file init.c.


Variable Documentation

const char* GSASL_VALID_MECHANISM_CHARACTERS = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_"

GSASL_VALID_MECHANISM_CHARACTERS:

A zero-terminated character array, or string, with all ASCII characters that may be used within a SASL mechanism name.

Definition at line 51 of file init.c.