| 1 |
/************************************************* |
/************************************************* |
| 2 |
* libucp - Unicode Property Table handler * |
* Unicode Property Table handler * |
| 3 |
*************************************************/ |
*************************************************/ |
| 4 |
|
|
|
|
|
| 5 |
#ifndef _UCP_H |
#ifndef _UCP_H |
| 6 |
#define _UCP_H |
#define _UCP_H |
| 7 |
|
|
| 8 |
/* These are the character categories that are returned by ucp_findchar */ |
/* This file contains definitions of the property values that are returned by |
| 9 |
|
the function _pcre_ucp_findprop(). New values that are added for new releases |
| 10 |
|
of Unicode should always be at the end of each enum, for backwards |
| 11 |
|
compatibility. */ |
| 12 |
|
|
| 13 |
|
/* These are the general character categories. */ |
| 14 |
|
|
| 15 |
enum { |
enum { |
| 16 |
ucp_C, /* Other */ |
ucp_C, /* Other */ |
| 22 |
ucp_Z /* Separator */ |
ucp_Z /* Separator */ |
| 23 |
}; |
}; |
| 24 |
|
|
| 25 |
/* These are the detailed character types that are returned by ucp_findchar */ |
/* These are the particular character types. */ |
| 26 |
|
|
| 27 |
enum { |
enum { |
| 28 |
ucp_Cc, /* Control */ |
ucp_Cc, /* Control */ |
| 57 |
ucp_Zs /* Space separator */ |
ucp_Zs /* Space separator */ |
| 58 |
}; |
}; |
| 59 |
|
|
| 60 |
extern int ucp_findchar(const int, int *, int *); |
/* These are the script identifications. */ |
| 61 |
|
|
| 62 |
|
enum { |
| 63 |
|
ucp_Arabic, |
| 64 |
|
ucp_Armenian, |
| 65 |
|
ucp_Bengali, |
| 66 |
|
ucp_Bopomofo, |
| 67 |
|
ucp_Braille, |
| 68 |
|
ucp_Buginese, |
| 69 |
|
ucp_Buhid, |
| 70 |
|
ucp_Canadian_Aboriginal, |
| 71 |
|
ucp_Cherokee, |
| 72 |
|
ucp_Common, |
| 73 |
|
ucp_Coptic, |
| 74 |
|
ucp_Cypriot, |
| 75 |
|
ucp_Cyrillic, |
| 76 |
|
ucp_Deseret, |
| 77 |
|
ucp_Devanagari, |
| 78 |
|
ucp_Ethiopic, |
| 79 |
|
ucp_Georgian, |
| 80 |
|
ucp_Glagolitic, |
| 81 |
|
ucp_Gothic, |
| 82 |
|
ucp_Greek, |
| 83 |
|
ucp_Gujarati, |
| 84 |
|
ucp_Gurmukhi, |
| 85 |
|
ucp_Han, |
| 86 |
|
ucp_Hangul, |
| 87 |
|
ucp_Hanunoo, |
| 88 |
|
ucp_Hebrew, |
| 89 |
|
ucp_Hiragana, |
| 90 |
|
ucp_Inherited, |
| 91 |
|
ucp_Kannada, |
| 92 |
|
ucp_Katakana, |
| 93 |
|
ucp_Kharoshthi, |
| 94 |
|
ucp_Khmer, |
| 95 |
|
ucp_Lao, |
| 96 |
|
ucp_Latin, |
| 97 |
|
ucp_Limbu, |
| 98 |
|
ucp_Linear_B, |
| 99 |
|
ucp_Malayalam, |
| 100 |
|
ucp_Mongolian, |
| 101 |
|
ucp_Myanmar, |
| 102 |
|
ucp_New_Tai_Lue, |
| 103 |
|
ucp_Ogham, |
| 104 |
|
ucp_Old_Italic, |
| 105 |
|
ucp_Old_Persian, |
| 106 |
|
ucp_Oriya, |
| 107 |
|
ucp_Osmanya, |
| 108 |
|
ucp_Runic, |
| 109 |
|
ucp_Shavian, |
| 110 |
|
ucp_Sinhala, |
| 111 |
|
ucp_Syloti_Nagri, |
| 112 |
|
ucp_Syriac, |
| 113 |
|
ucp_Tagalog, |
| 114 |
|
ucp_Tagbanwa, |
| 115 |
|
ucp_Tai_Le, |
| 116 |
|
ucp_Tamil, |
| 117 |
|
ucp_Telugu, |
| 118 |
|
ucp_Thaana, |
| 119 |
|
ucp_Thai, |
| 120 |
|
ucp_Tibetan, |
| 121 |
|
ucp_Tifinagh, |
| 122 |
|
ucp_Ugaritic, |
| 123 |
|
ucp_Yi, |
| 124 |
|
/* New for Unicode 5.0: */ |
| 125 |
|
ucp_Balinese, |
| 126 |
|
ucp_Cuneiform, |
| 127 |
|
ucp_Nko, |
| 128 |
|
ucp_Phags_Pa, |
| 129 |
|
ucp_Phoenician, |
| 130 |
|
/* New for Unicode 5.1: */ |
| 131 |
|
ucp_Carian, |
| 132 |
|
ucp_Cham, |
| 133 |
|
ucp_Kayah_Li, |
| 134 |
|
ucp_Lepcha, |
| 135 |
|
ucp_Lycian, |
| 136 |
|
ucp_Lydian, |
| 137 |
|
ucp_Ol_Chiki, |
| 138 |
|
ucp_Rejang, |
| 139 |
|
ucp_Saurashtra, |
| 140 |
|
ucp_Sundanese, |
| 141 |
|
ucp_Vai |
| 142 |
|
}; |
| 143 |
|
|
| 144 |
#endif |
#endif |
| 145 |
|
|