Go to main content

man pages section 3: Networking Library Functions

Exit Print View

Updated: July 2017
 
 

sasl_global_listmech(3SASL)

Name

sasl_global_listmech - retrieve a list of the supported SASL mechanisms

Synopsis

cc [ flag ... ] file ... –lsasl   [ library ... ]
#include <sasl/sasl.h>

const char ** sasl_global_listmech(  );

Description

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.

Return Values

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

Attributes

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

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Availability
system/library/security/libsasl
Interface Stability
Obsolete
MT-Level
MT–Safe

See Also

attributes(5)