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 "anonymous/anonymous.h"
#include "plain/plain.h"
#include "securid/securid.h"
#include "digest-md5/digest-md5.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


Function Documentation

int gsasl_init ( Gsasl **  ctx  ) 

gsasl_init:

Parameters:
ctx pointer 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 124 of file init.c.

References Gsasl_session::ctx, GSASL_CRYPTO_ERROR, gsasl_done(), GSASL_MALLOC_ERROR, and GSASL_OK.


Variable Documentation

const char* GSASL_VALID_MECHANISM_CHARACTERS

Initial value:

  "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 47 of file init.c.

Referenced by gsasl_client_suggest_mechanism().


Generated on Tue Aug 22 12:06:07 2006 for gsasl by  doxygen 1.4.7