1 |
/*************************************************
|
2 |
* libucp - Unicode Property Table handler *
|
3 |
*************************************************/
|
4 |
|
5 |
|
6 |
#ifndef _UCP_H
|
7 |
#define _UCP_H
|
8 |
|
9 |
/* These are the character categories that are returned by ucp_findchar */
|
10 |
|
11 |
enum {
|
12 |
ucp_C, /* Other */
|
13 |
ucp_L, /* Letter */
|
14 |
ucp_M, /* Mark */
|
15 |
ucp_N, /* Number */
|
16 |
ucp_P, /* Punctuation */
|
17 |
ucp_S, /* Symbol */
|
18 |
ucp_Z /* Separator */
|
19 |
};
|
20 |
|
21 |
/* These are the detailed character types that are returned by ucp_findchar */
|
22 |
|
23 |
enum {
|
24 |
ucp_Cc, /* Control */
|
25 |
ucp_Cf, /* Format */
|
26 |
ucp_Cn, /* Unassigned */
|
27 |
ucp_Co, /* Private use */
|
28 |
ucp_Cs, /* Surrogate */
|
29 |
ucp_Ll, /* Lower case letter */
|
30 |
ucp_Lm, /* Modifier letter */
|
31 |
ucp_Lo, /* Other letter */
|
32 |
ucp_Lt, /* Title case letter */
|
33 |
ucp_Lu, /* Upper case letter */
|
34 |
ucp_Mc, /* Spacing mark */
|
35 |
ucp_Me, /* Enclosing mark */
|
36 |
ucp_Mn, /* Non-spacing mark */
|
37 |
ucp_Nd, /* Decimal number */
|
38 |
ucp_Nl, /* Letter number */
|
39 |
ucp_No, /* Other number */
|
40 |
ucp_Pc, /* Connector punctuation */
|
41 |
ucp_Pd, /* Dash punctuation */
|
42 |
ucp_Pe, /* Close punctuation */
|
43 |
ucp_Pf, /* Final punctuation */
|
44 |
ucp_Pi, /* Initial punctuation */
|
45 |
ucp_Po, /* Other punctuation */
|
46 |
ucp_Ps, /* Open punctuation */
|
47 |
ucp_Sc, /* Currency symbol */
|
48 |
ucp_Sk, /* Modifier symbol */
|
49 |
ucp_Sm, /* Mathematical symbol */
|
50 |
ucp_So, /* Other symbol */
|
51 |
ucp_Zl, /* Line separator */
|
52 |
ucp_Zp, /* Paragraph separator */
|
53 |
ucp_Zs /* Space separator */
|
54 |
};
|
55 |
|
56 |
#endif
|
57 |
|
58 |
/* End of ucp.h */
|