stringprep_nameprep

Name

stringprep_nameprep -- 

Synopsis



#define     stringprep_nameprep             (in, maxlen)
#define     stringprep_nameprep_no_unassigned(in, maxlen)

Description

Details

stringprep_nameprep()

#define     stringprep_nameprep(in, maxlen)

Prepare the input UTF-8 string according to the nameprep profile. The AllowUnassigned flag is true, use stringprep_nameprep_no_unassigned() for false AllowUnassigned.

in :

input/ouput array with string to prepare.

maxlen :

maximum length of input/output array.


stringprep_nameprep_no_unassigned()

#define     stringprep_nameprep_no_unassigned(in, maxlen)

Prepare the input UTF-8 string according to the nameprep profile. The AllowUnassigned flag is false, use stringprep_nameprep() for true AllowUnassigned. Returns 0 iff successful, or an error code.

in :

input/ouput array with string to prepare.

maxlen :

maximum length of input/output array.