gsasl_property_set(3)

gsasl_property_set3

Api function

Usage

#include <gsasl.h>

int gsasl_property_set(Gsasl_session * sctx, Gsasl_property prop, const char * data);

Arguments

Gsasl_session * sctx

session handle.

Gsasl_property prop

enumerated value of Gsasl_property type, indicating the type of data in data .

const char * data

zero terminated character string to store.

Overview

Make a copy of data and store it in the session handle for the indicated property prop .

You can immediately deallocate data after calling this function, without affecting the data stored in the session handle.

Return value: GSASL_OK iff successful, otherwise GSASL_MALLOC_ERROR.

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.