X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=include%2Fyaz%2Ficu.h;h=ddf9f63f3e9a9b518e960daa5bfce0d79ee826aa;hp=23126abcb1a566a4ecacd0d2ff2f907af9c0ac17;hb=88d3bedf772316f87e1996f655ccf8d1e2589755;hpb=47db800079d3df8e8adfd93b466795d0803dabe8 diff --git a/include/yaz/icu.h b/include/yaz/icu.h index 23126ab..ddf9f63 100644 --- a/include/yaz/icu.h +++ b/include/yaz/icu.h @@ -1,5 +1,5 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2009 Index Data. + * Copyright (C) 1995-2010 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: @@ -48,9 +48,9 @@ typedef struct icu_chain *yaz_icu_chain_t; YAZ_EXPORT void icu_chain_destroy(yaz_icu_chain_t chain); /** \brief constructs ICU chain from XML specification - \param \param xml_node icu_chain XML node - with attribute locale in it - \param \param sort 1 if ICU chain is to deal with sort keys; 0 otherwise - \param \param status May include ICU error code on failure + \param xml_node icu_chain XML node - with attribute locale in it + \param sort 1 if ICU chain is to deal with sort keys; 0 otherwise + \param status May include ICU error code on failure \returns chain ptr or NULL on failure in which case status may hold info */ YAZ_EXPORT yaz_icu_chain_t icu_chain_xml_config(const xmlNode *xml_node, @@ -58,7 +58,7 @@ YAZ_EXPORT yaz_icu_chain_t icu_chain_xml_config(const xmlNode *xml_node, UErrorCode * status); /** \brief pass string to ICU for parsing/tokenization/etc \param chain ICU chain to be used for parsing - \param src8cstr input C string (\0-terminated) + \param src8cstr input C string (null-terminated) \param status may include ICU error on failure \retval 0 failure \retval 1 success