00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef __UCASEMAP_H__
00020 #define __UCASEMAP_H__
00021
00022 #include "unicode/utypes.h"
00023 #include "unicode/ustring.h"
00024
00044 struct UCaseMap;
00045 typedef struct UCaseMap UCaseMap;
00065 U_DRAFT UCaseMap * U_EXPORT2
00066 ucasemap_open(const char *locale, uint32_t options, UErrorCode *pErrorCode);
00067
00073 U_DRAFT void U_EXPORT2
00074 ucasemap_close(UCaseMap *csm);
00075
00082 U_DRAFT const char * U_EXPORT2
00083 ucasemap_getLocale(const UCaseMap *csm);
00084
00091 U_DRAFT uint32_t U_EXPORT2
00092 ucasemap_getOptions(const UCaseMap *csm);
00093
00105 U_DRAFT void U_EXPORT2
00106 ucasemap_setLocale(UCaseMap *csm, const char *locale, UErrorCode *pErrorCode);
00107
00119 U_DRAFT void U_EXPORT2
00120 ucasemap_setOptions(UCaseMap *csm, uint32_t options, UErrorCode *pErrorCode);
00121
00145 U_DRAFT int32_t U_EXPORT2
00146 ucasemap_utf8ToLower(const UCaseMap *csm,
00147 char *dest, int32_t destCapacity,
00148 const char *src, int32_t srcLength,
00149 UErrorCode *pErrorCode);
00150
00174 U_DRAFT int32_t U_EXPORT2
00175 ucasemap_utf8ToUpper(const UCaseMap *csm,
00176 char *dest, int32_t destCapacity,
00177 const char *src, int32_t srcLength,
00178 UErrorCode *pErrorCode);
00179
00180 #endif