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

References GSASL_CRYPTO_ERROR, gsasl_done(), GSASL_MALLOC_ERROR, GSASL_OK, and rc.


Variable Documentation

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

Referenced by gsasl_client_suggest_mechanism().


Generated on Tue Oct 21 18:28:19 2008 for gsasl by  doxygen 1.5.6