12e5b6d6dSopenharmony_ci// © 2017 and later: Unicode, Inc. and others. 22e5b6d6dSopenharmony_ci// License & terms of use: http://www.unicode.org/copyright.html 32e5b6d6dSopenharmony_ci#ifndef COLPROBE_H 42e5b6d6dSopenharmony_ci#define COLPROBE_H 52e5b6d6dSopenharmony_ci 62e5b6d6dSopenharmony_ci#include "unicode/uniset.h" 72e5b6d6dSopenharmony_ci#include "unicode/normlzr.h" 82e5b6d6dSopenharmony_ci 92e5b6d6dSopenharmony_citypedef int (*CompareFn) (const void *elem1, const void *elem2); 102e5b6d6dSopenharmony_citypedef int (*GetSortKeyFn) (const UChar *string, int32_t len, uint8_t *buffer, int32_t buffCapacity); 112e5b6d6dSopenharmony_ci//typedef int (__cdecl *CompareFn)(const void *elem1, const void *elem2); 122e5b6d6dSopenharmony_civoid generateRepertoire(const char *locale, UnicodeSet &rep, UBool &hanAppears, UErrorCode &status); 132e5b6d6dSopenharmony_ciUnicodeSet flatten(const UnicodeSet &source, UErrorCode &status); 142e5b6d6dSopenharmony_ci 152e5b6d6dSopenharmony_ci//UnicodeSet generateRepertoire(const char *locale); 162e5b6d6dSopenharmony_ci 172e5b6d6dSopenharmony_ci#endif 18