bms.h

Go to the documentation of this file.
00001 /*
00002  * Copyright (C) 1996-2009, International Business Machines Corporation and Others.
00003  * All rights reserved.
00004  */
00005 
00012 #ifndef _BMS_H
00013 #define _BMS_H
00014 
00015 #include "unicode/utypes.h"
00016 #include "unicode/ucol.h"
00017 
00032 typedef void UCD;
00033 
00048 U_CAPI UCD * U_EXPORT2
00049 ucd_open(UCollator *coll, UErrorCode *status);
00050 
00058 U_CAPI void U_EXPORT2
00059 ucd_close(UCD *ucd);
00060 
00074 U_CAPI UCollator * U_EXPORT2
00075 ucd_getCollator(UCD *ucd);
00076 
00089 U_CAPI void U_EXPORT2
00090 ucd_freeCache();
00091 
00099 U_CAPI void U_EXPORT2
00100 ucd_flushCache();
00101 
00179 struct BMS;
00180 typedef struct BMS BMS;
00181 
00200 U_CAPI BMS * U_EXPORT2
00201 bms_open(UCD *ucd,
00202          const UChar *pattern, int32_t patternLength,
00203          const UChar *target,  int32_t targetLength,
00204          UErrorCode  *status);
00205 
00212 U_CAPI void U_EXPORT2
00213 bms_close(BMS *bms);
00214 
00222 U_CAPI UBool U_EXPORT2
00223 bms_empty(BMS *bms);
00224 
00236 U_CAPI UCD * U_EXPORT2
00237 bms_getData(BMS *bms);
00238 
00250 U_CAPI UBool U_EXPORT2
00251 bms_search(BMS *bms, int32_t offset, int32_t *start, int32_t *end);
00252 
00262 U_CAPI void U_EXPORT2
00263 bms_setTargetString(BMS *bms, const UChar *target, int32_t targetLength, UErrorCode *status);
00264 
00265 #endif /* _BMS_H */

Generated on Sun Aug 22 15:43:57 2010 for ICU 4.0.1 by  doxygen 1.3.9.1