projects
/
pazpar2-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ICU chain XML configuration up and running, used in unit test as well.
[pazpar2-moved-to-github.git]
/
src
/
icu_I18N.h
diff --git
a/src/icu_I18N.h
b/src/icu_I18N.h
index
299eb7b
..
8ad7b11
100644
(file)
--- a/
src/icu_I18N.h
+++ b/
src/icu_I18N.h
@@
-1,4
+1,4
@@
-/* $Id: icu_I18N.h,v 1.15 2007-05-20 19:00:17 marc Exp $
+/* $Id: icu_I18N.h,v 1.16 2007-05-21 10:14:08 marc Exp $
Copyright (c) 2006-2007, Index Data.
This file is part of Pazpar2.
Copyright (c) 2006-2007, Index Data.
This file is part of Pazpar2.
@@
-26,6
+26,8
@@
#include <yaz/nmem.h>
#include <yaz/nmem.h>
+#include <libxml/parser.h>
+#include <libxml/tree.h>
#include <unicode/utypes.h> /* Basic ICU data types */
#include <unicode/uchar.h> /* char names */
#include <unicode/utypes.h> /* Basic ICU data types */
#include <unicode/uchar.h> /* char names */
@@
-245,8
+247,13
@@
struct icu_chain
struct icu_chain * icu_chain_create(const uint8_t * identifier,
const uint8_t * locale);
struct icu_chain * icu_chain_create(const uint8_t * identifier,
const uint8_t * locale);
+
void icu_chain_destroy(struct icu_chain * chain);
void icu_chain_destroy(struct icu_chain * chain);
+struct icu_chain * icu_chain_xml_config(xmlNode *xml_node,
+ UErrorCode * status);
+
+
struct icu_chain_step * icu_chain_insert_step(struct icu_chain * chain,
enum icu_chain_step_type type,
const uint8_t * rule,
struct icu_chain_step * icu_chain_insert_step(struct icu_chain * chain,
enum icu_chain_step_type type,
const uint8_t * rule,