X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fyaz%2Ficu_I18N.h;h=f69daf905c8a360358a6c44d7a98191375de31b1;hb=6f7757087a49db5fb3fa4f3b12b8b67ebbbe3aa3;hp=9f0c2eb128c34e6dcea3b222dcc5296ade5b4165;hpb=c262e2c4e953e90016aaa2c4d3bbb190a8d29b99;p=yaz-moved-to-github.git diff --git a/include/yaz/icu_I18N.h b/include/yaz/icu_I18N.h index 9f0c2eb..f69daf9 100644 --- a/include/yaz/icu_I18N.h +++ b/include/yaz/icu_I18N.h @@ -1,5 +1,5 @@ -/* - * Copyright (c) 1995-2007, Index Data +/* This file is part of the YAZ toolkit. + * Copyright (C) 1995-2008 Index Data. * All rights reserved. * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: @@ -34,8 +34,6 @@ #include -#include - #include /* Basic ICU data types */ #include /* char names */ @@ -120,10 +118,10 @@ int icu_utf16_casemap(struct icu_buf_utf16 * dest16, 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 { @@ -168,7 +166,7 @@ struct icu_normalizer { char action; struct icu_buf_utf16 * rules16; - UParseError parse_error[256]; + UParseError parse_error; UTransliterator * trans; }; @@ -224,7 +222,7 @@ void icu_chain_step_destroy(struct icu_chain_step * step); struct icu_chain { - char locale[16]; + char *locale; int sort; const char * src8cstr;