gsasl  2.2.1
Functions
mechname.c File Reference
#include <config.h>
#include "internal.h"

Go to the source code of this file.

Functions

const char * gsasl_mechanism_name (Gsasl_session *sctx)
 

Function Documentation

◆ gsasl_mechanism_name()

const char* gsasl_mechanism_name ( Gsasl_session sctx)

gsasl_mechanism_name:

Parameters
sctxlibgsasl session handle.

This function returns the name of the SASL mechanism used in the session. The pointer must not be deallocated by the caller.

Return value: Returns a zero terminated character array with the name of the SASL mechanism, or NULL if not known.

Since: 0.2.28

Definition at line 39 of file mechname.c.