-/* $Id: icu_I18N.h,v 1.8 2007-05-09 14:01:21 marc Exp $
+/* $Id: icu_I18N.h,v 1.10 2007-05-11 09:35:50 marc Exp $
Copyright (c) 2006-2007, Index Data.
This file is part of Pazpar2.
//#include <unicode/uloc.h>
#include <unicode/ubrk.h>
//#include <unicode/unistr.h>
+#include <unicode/utrans.h>
+
// forward declarations
+struct icu_normalizer
+{
+ char action;
+ struct icu_buf_utf16 * rules16;
+ UParseError parse_error[256];
+ UTransliterator * trans;
+};
+
+struct icu_normalizer * icu_normalizer_create(const char *rules, char action,
+ UErrorCode *status);
+
+
+void icu_normalizer_destroy(struct icu_normalizer * normalizer);
+
#endif // HAVE_ICU
#endif // ICU_I18NL_H