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:
ctx libgsasl handle.
name name 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.

References Gsasl::client_mechs, and Gsasl::n_client_mechs.

int gsasl_server_support_p ( Gsasl ctx,
const char *  name 
)

gsasl_server_support_p:

Parameters:
ctx libgsasl handle.
name name 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.

References Gsasl::n_server_mechs, and Gsasl::server_mechs.


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