X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fyaz%2Ficu.h;h=7f396f2cf86cabcfef721c1671676c4b01f8e5f3;hb=7c7e37084545799555a7e49e0fb4d3d6f44f3a44;hp=4abba69fdce27d887fb09c3bfe679e63161e4dee;hpb=fbb0389c468253ae678c1169fe0d7a8d8d54e8cb;p=yaz-moved-to-github.git diff --git a/include/yaz/icu.h b/include/yaz/icu.h index 4abba69..7f396f2 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-2010 Index Data. + * Copyright (C) 1995-2012 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: @@ -64,7 +64,7 @@ YAZ_EXPORT yaz_icu_chain_t icu_chain_xml_config(const xmlNode *xml_node, \retval 1 success */ YAZ_EXPORT int icu_chain_assign_cstr(yaz_icu_chain_t chain, - const char * src8cstr, + const char * src8cstr, UErrorCode *status); /** \brief returns one token (if any) @@ -122,7 +122,7 @@ yaz_icu_iter_t icu_iter_create(struct icu_chain *chain); /** \brief starts iteration over string \param iter ICU tokenizer iterator \param src8cstr input string (0-terminated) - + Call icu_iter_next to iterate over each token. */ YAZ_EXPORT @@ -168,7 +168,7 @@ const char *icu_iter_get_display(yaz_icu_iter_t iter); \returns token count (1, 2, 3...) */ YAZ_EXPORT -const char *icu_iter_get_token_number(yaz_icu_iter_t iter); +int icu_iter_get_token_number(yaz_icu_iter_t iter); YAZ_END_CDECL