X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fzebramap.h;h=eb4e4fdd4ae2b57e3be42b912d15506bbe6409e9;hb=0ef68e6e54cfd7a91a28ee3b1f305924ac34e787;hp=48ae0a74262d4b8491f03cf0de25e4fd716d78c2;hpb=a479e3c7f966848a6fc71ac2c2c7f5db7068351b;p=idzebra-moved-to-github.git diff --git a/include/zebramap.h b/include/zebramap.h index 48ae0a7..eb4e4fd 100644 --- a/include/zebramap.h +++ b/include/zebramap.h @@ -1,8 +1,5 @@ -/* $Id: zebramap.h,v 1.27 2007-11-06 10:29:58 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 @@ -94,10 +91,14 @@ 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); -int zebra_map_tokenize(zebra_map_t zm, - const char *buf, size_t len, - const char **result_buf, size_t *result_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