#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 - prepare internationalized string
| 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. |
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.
References GSASL_ALLOW_UNASSIGNED, GSASL_MALLOC_ERROR, GSASL_OK, and GSASL_SASLPREP_ERROR.
Referenced by _gsasl_cram_md5_client_step(), _gsasl_cram_md5_server_step(), and _gsasl_plain_server_step().
1.4.7