X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fzebramap.h;h=eb4e4fdd4ae2b57e3be42b912d15506bbe6409e9;hb=a741f3ed46c75118dd042c30b375c9cea923b33e;hp=0912f895d394607a8a5683223a8cf6b0da96bb19;hpb=e199777080c6fa0963d51b7df1763fd5286ca9a4;p=idzebra-moved-to-github.git diff --git a/include/zebramap.h b/include/zebramap.h index 0912f89..eb4e4fd 100644 --- a/include/zebramap.h +++ b/include/zebramap.h @@ -1,8 +1,5 @@ -/* $Id: zebramap.h,v 1.26 2007-10-31 16:56:13 adam Exp $ - Copyright (C) 1995-2007 - Index Data ApS - -This file is part of the Zebra server. +/* This file is part of the Zebra server. + Copyright (C) 1995-2008 Index Data Zebra is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free @@ -79,6 +76,9 @@ YAZ_EXPORT int zebra_maps_is_positioned(zebra_map_t zm); YAZ_EXPORT +int zebra_maps_is_icu(zebra_map_t zm); + +YAZ_EXPORT int zebra_maps_is_first_in_field(zebra_map_t zm); YAZ_EXPORT @@ -91,6 +91,15 @@ zebra_map_t zebra_map_get(zebra_maps_t zms, const char *id); YAZ_EXPORT zebra_map_t zebra_map_get_or_add(zebra_maps_t zms, const char *id); +YAZ_EXPORT +int zebra_map_tokenize_start(zebra_map_t zm, + const char *buf, size_t len); + +YAZ_EXPORT +int zebra_map_tokenize_next(zebra_map_t zm, + const char **result_buf, size_t *result_len, + const char **display_buf, size_t *display_len); + YAZ_END_CDECL #endif