|
gsasl
1.8.0
|
#include "internal.h"Go to the source code of this file.
Functions | |
| int | gsasl_saslprep (const char *in, Gsasl_saslprep_flags flags, char **out, int *stringpreprc) |
| int gsasl_saslprep | ( | const char * | in, |
| Gsasl_saslprep_flags | flags, | ||
| char ** | out, | ||
| int * | stringpreprc | ||
| ) |
gsasl_saslprep:
| in | a UTF-8 encoded string. |
| flags | any SASLprep flag, e.g., GSASL_ALLOW_UNASSIGNED. |
| out | on exit, contains newly allocated output string. |
| stringpreprc | if non-NULL, will hold precise stringprep return code. |
Prepare string using SASLprep. On success, the variable must be deallocated by the caller.
Return value: Returns GSASL_OK on success, or GSASL_SASLPREP_ERROR on error.
Since: 0.2.3
Definition at line 48 of file saslprep.c.
1.7.6.1