gsasl_callback(3)

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_init(), may be NULL to derive it from sctx .

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.

  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.