gsasl  2.2.1
Functions
init.c File Reference
#include <config.h>
#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"

Go to the source code of this file.

Functions

int gsasl_init (Gsasl **ctx)
 

Function Documentation

◆ gsasl_init()

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