gsasl_callback_hook_set(3)

gsasl_callback_hook_set3

Api function

Usage

#include <gsasl.h>

void gsasl_callback_hook_set(Gsasl * ctx, void * hook);

Arguments

Gsasl * ctx

libgsasl handle.

void * hook

opaque pointer to application specific data.

Overview

Store application specific data in the libgsasl handle.

The application data can be later (for instance, inside a callback) be retrieved by calling gsasl_callback_hook_get(). This is normally used by the application to maintain a global state between the main program and callbacks.

Since

0.2.0

Releases

11 releases since Debian 4.0 (Etch); the text changed 7 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7–10
  5. 11
  6. 12
  7. 13
  8. 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.