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

◆ gsasl_client_support_p()

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 50 of file supportp.c.

◆ gsasl_server_support_p()

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 67 of file supportp.c.