gsasl_callback3
Api function
Usage
#include <gsasl.h>
int gsasl_callback(Gsasl * ctx, Gsasl_session * sctx, Gsasl_property prop);
Arguments
Gsasl * ctx
|
handle received from |
|---|---|
Gsasl_session * sctx
|
session handle. |
Gsasl_property prop
|
enumerated value of Gsasl_property type. |
Overview
Invoke the application callback. The prop value indicate what the callback is expected to do. For example, for GSASL_ANONYMOUS_TOKEN, the function is expected to invoke gsasl_property_set( SCTX , GSASL_ANONYMOUS_TOKEN, "token") where "token" is the anonymous token the application wishes the SASL mechanism to use. See the manual for the meaning of all parameters.
Return value: Returns whatever the application callback returns, or GSASL_NO_CALLBACK if no application was known.
Since
0.2.0
Releases
11 releases since Debian 4.0 (Etch); the text changed 7 times.