- Main Page
- Related Pages
- Modules
- Data Structures
- Files

- Search for |

- File List
- Globals

# 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;
    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
    00223 U_CAPI UBool U_EXPORT2
    00224 bms_empty(BMS *bms);
    00225
    00237 U_CAPI UCD * U_EXPORT2
    00238 bms_getData(BMS *bms);
    00239
    00252 U_CAPI UBool U_EXPORT2
    00253 bms_search(BMS *bms, int32_t offset, int32_t *start, int32_t *end);
    00254
    00265 U_CAPI void U_EXPORT2
    00266 bms_setTargetString(BMS *bms, const UChar *target, int32_t targetLength, UErrorCode *status);
    00267
    00268 #endif /* _BMS_H */