gsasl_property_set_raw3
Api function
Usage
#include <gsasl.h>
int gsasl_property_set_raw(Gsasl_session * sctx, Gsasl_property prop, const char * data, size_t len);
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
|
character string to store. |
size_t len
|
length of character string to store. |
Overview
Make a copy of len sized data and store a zero terminated version of 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.
Except for the length indicator, this function is identical to gsasl_property_set.
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.