gsasl  1.8.0
Functions
supportp.c File Reference
#include "internal.h"

Go to the source code of this file.

Functions

int gsasl_client_support_p (Gsasl *ctx, const char *name)
int gsasl_server_support_p (Gsasl *ctx, const char *name)

Function Documentation

int gsasl_client_support_p ( Gsasl ctx,
const char *  name 
)

gsasl_client_support_p:

Parameters:
ctxlibgsasl handle.
namename of SASL mechanism.

Decide whether there is client-side support for a specified mechanism.

Return value: Returns 1 if the libgsasl client supports the named mechanism, otherwise 0.

Definition at line 49 of file supportp.c.

int gsasl_server_support_p ( Gsasl ctx,
const char *  name 
)

gsasl_server_support_p:

Parameters:
ctxlibgsasl handle.
namename of SASL mechanism.

Decide whether there is server-side support for a specified mechanism.

Return value: Returns 1 if the libgsasl server supports the named mechanism, otherwise 0.

Definition at line 66 of file supportp.c.