Isolated ICU locale out of XML config file. Locale is now the second argument to...
[yaz-moved-to-github.git] / include / yaz / icu_I18N.h
index 7436b2e..e4f5c8c 100644 (file)
@@ -243,12 +243,13 @@ struct icu_chain
     struct icu_chain_step * steps;
 };
 
-struct icu_chain * icu_chain_create(const uint8_t * identifier, 
+struct icu_chain * icu_chain_create( // const uint8_t * identifier, 
                                     const uint8_t * locale);
 
 void icu_chain_destroy(struct icu_chain * chain);
 
-struct icu_chain * icu_chain_xml_config(xmlNode *xml_node, 
+struct icu_chain * icu_chain_xml_config(xmlNode *xml_node,
+                                        const uint8_t * locale, 
                                         UErrorCode * status);