SysTutorials

Man Pages › Section 3

sasl_global_listmech(3)

sasl_listmech – Retrieve a list of the supported SASL mechanisms

Synopsis

#include <sasl/sasl.h>

const char ** sasl_global_listmech()

Description

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

Return Value

Returns a pointer to the array on success. NULL on failure (sasl library uninitialized).

Conforming To

RFC 4422

See Also

sasl(3), sasl_listmech(3), sasl_server_init(3), sasl_client_init(3)