1@subheading gsasl_saslprep
2@anchor{gsasl_saslprep}
3@deftypefun {int} {gsasl_saslprep} (const char * @var{in}, Gsasl_saslprep_flags @var{flags}, char ** @var{out}, int * @var{stringpreprc})
4@var{in}: a UTF-8 encoded string.
5
6@var{flags}: any SASLprep flag, e.g., @code{GSASL_ALLOW_UNASSIGNED} .
7
8@var{out}: on exit, contains newly allocated output string.
9
10@var{stringpreprc}: if non-NULL, will hold precise stringprep return code.
11
12Prepare string using SASLprep.  On success, the  @code{out} variable must
13be deallocated by the caller.
14
15Return value: Returns @code{GSASL_OK}  on success, or
16@code{GSASL_SASLPREP_ERROR}  on error.
17
18@strong{Since:} 0.2.3
19@end deftypefun
20
21