struct icu_chain_step * steps;
};
-struct icu_chain * icu_chain_create(const uint8_t * locale,
+struct icu_chain * icu_chain_create(const char * locale,
int sort,
UErrorCode * status);
void icu_chain_destroy(struct icu_chain * chain);
-struct icu_chain * icu_chain_xml_config(xmlNode *xml_node,
- const uint8_t * locale,
+struct icu_chain * icu_chain_xml_config(const xmlNode *xml_node,
+ const char *locale,
int sort,
UErrorCode * status);
* Copyright (C) 1995-2007, Index Data ApS
* See the file LICENSE for details.
*
- * $Id: icu_I18N.c,v 1.10 2007-10-29 13:50:57 marc Exp $
+ * $Id: icu_I18N.c,v 1.11 2007-11-06 10:27:30 adam Exp $
*/
#if HAVE_CONFIG_H
-struct icu_chain * icu_chain_create(const uint8_t * locale,
+struct icu_chain * icu_chain_create(const char *locale,
int sort,
UErrorCode * status)
{
-struct icu_chain * icu_chain_xml_config(xmlNode *xml_node,
- const uint8_t * locale,
+struct icu_chain * icu_chain_xml_config(const xmlNode *xml_node,
+ const char *locale,
int sort,
UErrorCode * status){
* Copyright (C) 1995-2007, Index Data ApS
* See the file LICENSE for details.
*
- * $Id: yaz-icu.c,v 1.6 2007-10-29 10:22:23 marc Exp $
+ * $Id: yaz-icu.c,v 1.7 2007-11-06 10:27:30 adam Exp $
*/
#if HAVE_CONFIG_H
if (!xml_locale || !strlen((const char *) xml_locale))
return;
- config.chain = icu_chain_xml_config(xml_node, (uint8_t *) xml_locale, 0,
+ config.chain = icu_chain_xml_config(xml_node, (const char *) xml_locale, 0,
&status);
xmlFree(xml_locale);