gsasl  1.10.0
About: GNU SASL is an implementation of the Simple Authentication and Security Layer (SASL). Development version.
  Fossies Dox: gsasl-1.10.0.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

mechname.c File Reference
#include "internal.h"
Include dependency graph for mechname.c:

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: @sctx: libgsasl 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 38 of file mechname.c.

References Gsasl_session::mech, Gsasl_mechanism::name, and NULL.

Referenced by gs2_get_oid().