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