00001 /************************************************* 00002 * libucp - Unicode Property Table handler * 00003 *************************************************/ 00004 00005 /* These are the character categories that are returned by ucp_findchar */ 00006 00007 enum { 00008 ucp_C, /* Other */ 00009 ucp_L, /* Letter */ 00010 ucp_M, /* Mark */ 00011 ucp_N, /* Number */ 00012 ucp_P, /* Punctuation */ 00013 ucp_S, /* Symbol */ 00014 ucp_Z /* Separator */ 00015 }; 00016 00017 /* These are the detailed character types that are returned by ucp_findchar */ 00018 00019 enum { 00020 ucp_Cc, /* Control */ 00021 ucp_Cf, /* Format */ 00022 ucp_Cn, /* Unassigned */ 00023 ucp_Co, /* Private use */ 00024 ucp_Cs, /* Surrogate */ 00025 ucp_Ll, /* Lower case letter */ 00026 ucp_Lm, /* Modifier letter */ 00027 ucp_Lo, /* Other letter */ 00028 ucp_Lt, /* Title case letter */ 00029 ucp_Lu, /* Upper case letter */ 00030 ucp_Mc, /* Spacing mark */ 00031 ucp_Me, /* Enclosing mark */ 00032 ucp_Mn, /* Non-spacing mark */ 00033 ucp_Nd, /* Decimal number */ 00034 ucp_Nl, /* Letter number */ 00035 ucp_No, /* Other number */ 00036 ucp_Pc, /* Connector punctuation */ 00037 ucp_Pd, /* Dash punctuation */ 00038 ucp_Pe, /* Close punctuation */ 00039 ucp_Pf, /* Final punctuation */ 00040 ucp_Pi, /* Initial punctuation */ 00041 ucp_Po, /* Other punctuation */ 00042 ucp_Ps, /* Open punctuation */ 00043 ucp_Sc, /* Currency symbol */ 00044 ucp_Sk, /* Modifier symbol */ 00045 ucp_Sm, /* Mathematical symbol */ 00046 ucp_So, /* Other symbol */ 00047 ucp_Zl, /* Line separator */ 00048 ucp_Zp, /* Paragraph separator */ 00049 ucp_Zs /* Space separator */ 00050 }; 00051 00052 /* For use in PCRE we make this function static so that there is no conflict if 00053 PCRE is linked with an application that makes use of an external version - 00054 assuming an external version is ever released... */ 00055 00056 static int ucp_findchar(const int, int *, int *); 00057 00058 /* End of ucp.h */