![]() | ![]() | ![]() | GNU Libidn API Reference Manual | ![]() |
---|
#define stringprep_xmpp_nodeprep (in, maxlen) #define stringprep_xmpp_resourceprep (in, maxlen)
This specifies processing rules that will enable users to enter internationalized node identifiers in XMPP (see XMPP Core [2]) and have the highest chance of getting the content of the strings correct. These processing rules are intended for XMPP node identifiers only, and not for arbitrary text.
#define stringprep_xmpp_nodeprep(in, maxlen)
Prepare the input UTF-8 string according to the draft XMPP node identifier profile. Returns 0 iff successful, or an error code.
in : | input/ouput array with string to prepare. |
maxlen : | maximum length of input/output array. |
#define stringprep_xmpp_resourceprep(in, maxlen)
Prepare the input UTF-8 string according to the draft XMPP resource identifier profile. Returns 0 iff successful, or an error code.
in : | input/ouput array with string to prepare. |
maxlen : | maximum length of input/output array. |
<<< stringprep_nameprep | punycode >>> |