28 # include <stringprep.h>
30 # if defined HAVE_PR29_H && defined HAVE_PR29_8Z
52 char **out,
int *stringpreprc)
56 rc = stringprep_profile (in, out,
"SASLprep",
58 ? STRINGPREP_NO_UNASSIGNED : 0);
63 if (
rc != STRINGPREP_OK)
69 # if defined HAVE_PR29_8Z && defined HAVE_PR29_H
70 if (pr29_8z (*out) != PR29_SUCCESS)
75 *stringpreprc = STRINGPREP_NFKC_FAILED;
88 char **out,
int *stringpreprc _GL_UNUSED)
90 size_t i, inlen = strlen (in);
92 for (i = 0; i < inlen; i++)
99 *out = malloc (inlen + 1);
int gsasl_saslprep(const char *in, Gsasl_saslprep_flags flags _GL_UNUSED, char **out, int *stringpreprc _GL_UNUSED)