4 * String defined via CPP denoting the header file version number.
5 * Used together with stringprep_check_version() to verify header file
6 * and run-time library consistency.
8 #define STRINGPREP_VERSION
11 * stringprep_nameprep:
12 * @in: input/ouput array with string to prepare.
13 * @maxlen: maximum length of input/output array.
15 * Prepare the input UTF-8 string according to the nameprep profile.
16 * The AllowUnassigned flag is true, use
17 * stringprep_nameprep_no_unassigned() for false AllowUnassigned.
18 * Returns 0 iff successful, or an error code.
21 stringprep_nameprep (char *in
, int maxlen
)
26 * stringprep_nameprep_no_unassigned:
27 * @in: input/ouput array with string to prepare.
28 * @maxlen: maximum length of input/output array.
30 * Prepare the input UTF-8 string according to the nameprep profile.
31 * The AllowUnassigned flag is false, use stringprep_nameprep() for
32 * true AllowUnassigned. Returns 0 iff successful, or an error code.
35 stringprep_nameprep_no_unassigned (char *in
, int maxlen
)
41 * @in: input/ouput array with string to prepare.
42 * @maxlen: maximum length of input/output array.
44 * Prepare the input UTF-8 string according to the draft iSCSI
45 * stringprep profile. Returns 0 iff successful, or an error code.
48 stringprep_iscsi (char *in
, int maxlen
)
53 * stringprep_kerberos5:
54 * @in: input/ouput array with string to prepare.
55 * @maxlen: maximum length of input/output array.
57 * Prepare the input UTF-8 string according to the draft Kerberos5
58 * stringprep profile. Returns 0 iff successful, or an error code.
61 stringprep_kerberos5 (char *in
, int maxlen
)
67 * @in: input/ouput array with string to prepare.
68 * @maxlen: maximum length of input/output array.
70 * Prepare the input UTF-8 string according to the draft SASL
71 * ANONYMOUS profile. Returns 0 iff successful, or an error code.
74 stringprep_plain (char *in
, int maxlen
)
79 * stringprep_xmpp_nodeprep:
80 * @in: input/ouput array with string to prepare.
81 * @maxlen: maximum length of input/output array.
83 * Prepare the input UTF-8 string according to the draft XMPP node
84 * identifier profile. Returns 0 iff successful, or an error code.
87 stringprep_xmpp_nodeprep (char *in
, int maxlen
)
92 * stringprep_xmpp_resourceprep:
93 * @in: input/ouput array with string to prepare.
94 * @maxlen: maximum length of input/output array.
96 * Prepare the input UTF-8 string according to the draft XMPP resource
97 * identifier profile. Returns 0 iff successful, or an error code.
100 stringprep_xmpp_resourceprep (char *in
, int maxlen
)
105 * stringprep_generic:
106 * @in: input/ouput array with string to prepare.
107 * @maxlen: maximum length of input/output array.
109 * Prepare the input UTF-8 string according to a hypotetical "generic"
110 * stringprep profile. This is mostly used for debugging or when
111 * constructing new stringprep profiles. Returns 0 iff successful, or
115 stringprep_generic (char *in
, int maxlen
)