#include <yaz/yconfig.h>
-#include <libxml/tree.h>
-
#include <unicode/utypes.h> /* Basic ICU data types */
#include <unicode/uchar.h> /* char names */
const char *locale, char action,
UErrorCode *status);
-UErrorCode icu_sortkey8_from_utf16(UCollator *coll,
- struct icu_buf_utf8 * dest8,
- struct icu_buf_utf16 * src16,
- UErrorCode * status);
+void icu_sortkey8_from_utf16(UCollator *coll,
+ struct icu_buf_utf8 * dest8,
+ struct icu_buf_utf16 * src16,
+ UErrorCode * status);
struct icu_tokenizer
{
- char locale[16];
char action;
UBreakIterator* bi;
struct icu_buf_utf16 * buf16;
struct icu_chain
{
- char locale[16];
+ char *locale;
int sort;
const char * src8cstr;