Logo Search packages:      
Sourcecode: icu version File versions  Download package

bms.h File Reference

Detailed Description

C API: Boyer-Moore StringSearch prototype.

For internal use only.

Definition in file bms.h.

#include "unicode/utypes.h"
#include "unicode/ucol.h"

Go to the source code of this file.


typedef struct BMS BMS
typedef void UCD


U_CAPI void U_EXPORT2 bms_close (BMS *bms)
U_CAPI UBool U_EXPORT2 bms_empty (BMS *bms)
U_CAPI UCD *U_EXPORT2 bms_getData (BMS *bms)
U_CAPI BMS *U_EXPORT2 bms_open (UCD *ucd, const UChar *pattern, int32_t patternLength, const UChar *target, int32_t targetLength, UErrorCode *status)
U_CAPI UBool U_EXPORT2 bms_search (BMS *bms, int32_t offset, int32_t *start, int32_t *end)
U_CAPI void U_EXPORT2 bms_setTargetString (BMS *bms, const UChar *target, int32_t targetLength, UErrorCode *status)
U_CAPI void U_EXPORT2 ucd_close (UCD *ucd)
U_CAPI void U_EXPORT2 ucd_flushCache ()
U_CAPI void U_EXPORT2 ucd_freeCache ()
U_CAPI UCollator *U_EXPORT2 ucd_getCollator (UCD *ucd)
U_CAPI UCD *U_EXPORT2 ucd_open (UCollator *coll, UErrorCode *status)

Generated by  Doxygen 1.6.0   Back to index