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(5) for descriptions of the following attributes: