gsasl_saslprep3
Api function
Usage
#include <gsasl.h>
int gsasl_saslprep(const char * in, Gsasl_saslprep_flags flags, char ** out, int * stringpreprc);
Arguments
const char * in
|
a UTF-8 encoded string. |
|---|---|
Gsasl_saslprep_flags flags
|
any SASLprep flag, e.g., |
char ** out
|
on exit, contains newly allocated output string. |
int * stringpreprc
|
if non-NULL, will hold precise stringprep return code. |
Overview
Prepare string using SASLprep. On success, the out variable must be deallocated by the caller.
Return value: Returns GSASL_OK on success, or GSASL_SASLPREP_ERROR on error.
Since
0.2.3
Releases
11 releases since Debian 4.0 (Etch); the text changed 7 times.