![]() | ![]() | ![]() | GNU Libidn API Reference Manual | ![]() |
---|
#define stringprep_nameprep (in, maxlen) #define stringprep_nameprep_no_unassigned(in, maxlen)
This describes how to prepare internationalized domain name labels in order to increase the likelihood that name input and name comparison work in ways that make sense for typical users throughout the world. This profile of the stringprep protocol is used as part of a suite of on-the-wire protocols for internationalizing the DNS.
#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. |
#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. |
<<< stringprep_kerberos5 | stringprep >>> |