gsasl_session_hook_set3
Api function
Usage
#include <gsasl.h>
void gsasl_session_hook_set(Gsasl_session * sctx, void * hook);
Arguments
Gsasl_session * sctx
|
libgsasl session handle. |
|---|---|
void * hook
|
opaque pointer to application specific data. |
Overview
Store application specific data in the libgsasl session handle.
The application data can be later (for instance, inside a callback) be retrieved by calling gsasl_session_hook_get(). This is normally used by the application to maintain a per-session state between the main program and callbacks.
Since
0.2.14
Releases
10 releases since Debian 5.0 (Lenny); the text changed 6 times.