Build contrib/doxygen/Doxyfile.
[libidn.git] / reference / dummy.c
blob356f0a0b79831ab55133c362559a7ce55c6d5bb5
1 /**
2 * STRINGPREP_VERSION
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.
7 */
8 #define STRINGPREP_VERSION
10 /**
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.
19 **/
20 int
21 stringprep_nameprep (char *in, int maxlen)
25 /**
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.
33 **/
34 int
35 stringprep_nameprep_no_unassigned (char *in, int maxlen)
39 /**
40 * stringprep_iscsi:
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.
46 **/
47 int
48 stringprep_iscsi (char *in, int maxlen)
52 /**
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.
59 **/
60 int
61 stringprep_kerberos5 (char *in, int maxlen)
65 /**
66 * stringprep_plain:
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.
72 **/
73 int
74 stringprep_plain (char *in, int maxlen)
78 /**
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.
85 **/
86 int
87 stringprep_xmpp_nodeprep (char *in, int maxlen)
91 /**
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.
98 **/
99 int
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
112 * an error code.
115 stringprep_generic (char *in, int maxlen)