blob: d8823b522d1cdf48c12dfb4b7e7177a679d9f6a3 [file] [log] [blame]
MG Mud User88f12472016-06-24 23:31:02 +02001#ifndef LPC_IDN_H_
2#define LPC_IDN_H_ 1
3
4/* --- IDNA Constants ---
5 */
6
7/* idna_stringprep() profiles. */
8
9#define STRINGPREP_NAMEPREP 1
10#define STRINGPREP_SASLPREP 2
11#define STRINGPREP_PLAIN 3
12#define STRINGPREP_TRACE 4
13#define STRINGPREP_KERBEROS5 5
14#define STRINGPREP_XMPP_NODEPREP 6
15#define STRINGPREP_XMPP_RESOURCEPREP 7
16#define STRINGPREP_ISCSI 8
17
18/* idna_stringprep() flags */
19
20#define STRINGPREP_NO_NFKC_FLAG (1<<0)
21#define STRINGPREP_NO_BIDI_FLAG (1<<1)
22#define STRINGPREP_NO_UNASSIGNED_FLAG (1<<2)
23
24#define STRINGPREP_FLAG_MAX (1<<2)
25
26#endif