gsasl_session_hook_set(3)

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.

  1. 5.0
  2. 6.0
  3. 7–10
  4. 11
  5. 12
  6. 13
  7. Arch

Reporting bugs

Report bugs to <[email protected]>.
General guidelines for reporting bugs: https://www.gnu.org/gethelp/
GNU SASL home page: https://www.gnu.org/software/gsasl/

From gsasl 2.2.4-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.