00001
00002
00003
00004
00005
00006
00007 #ifndef __UCPMAP_H__
00008 #define __UCPMAP_H__
00009
00010 #include "unicode/utypes.h"
00011
00012 #ifndef U_HIDE_DRAFT_API
00013
00014 U_CDECL_BEGIN
00015
00033 typedef struct UCPMap UCPMap;
00034
00044 enum UCPMapRangeOption {
00050 UCPMAP_RANGE_NORMAL,
00066 UCPMAP_RANGE_FIXED_LEAD_SURROGATES,
00082 UCPMAP_RANGE_FIXED_ALL_SURROGATES
00083 };
00084 #ifndef U_IN_DOXYGEN
00085 typedef enum UCPMapRangeOption UCPMapRangeOption;
00086 #endif
00087
00098 U_CAPI uint32_t U_EXPORT2
00099 ucpmap_get(const UCPMap *map, UChar32 c);
00100
00115 typedef uint32_t U_CALLCONV
00116 UCPMapValueFilter(const void *context, uint32_t value);
00117
00154 U_CAPI UChar32 U_EXPORT2
00155 ucpmap_getRange(const UCPMap *map, UChar32 start,
00156 UCPMapRangeOption option, uint32_t surrogateValue,
00157 UCPMapValueFilter *filter, const void *context, uint32_t *pValue);
00158
00159 U_CDECL_END
00160
00161 #endif // U_HIDE_DRAFT_API
00162 #endif