SASL_GLOBAL_LISTMECH(3SASL) Simple Authentication Security Layer Library Functions SASL_GLOBAL_LISTMECH(3SASL)

sasl_global_listmech - retrieve a list of the supported SASL mechanisms

cc [ flag ... ] file ... -lsasl   [ library ... ]
#include <sasl/sasl.h>
const char ** sasl_global_listmech(  );

The sasl_global_listmech() interface to returns a null-terminated array of strings that lists all of the mechanisms that are loaded by either the client or server side of the library.

A successful call to sasl_global_listmech() returns a pointer the array. On failure, NULL is returned. The SASL library is uninitialized.

See attributes(7) for descriptions of the following attributes:

ATTRIBUTE TYPE ATTRIBUTE VALUE
Interface Stability Obsolete
MT-Level MT-Safe

attributes(7)

October 1, 2003 OmniOS