X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=include%2Fzebramap.h;h=a2850a32c2caebd66549acc201a7e42698a18b42;hp=db4343c65080afca75ed1f6f1394b80eb177e57d;hb=3bb2fd863b1664f1ff71dadb540313f301ca234f;hpb=896b30853daabb6294afe8b0a2f74fa6d6e397d8 diff --git a/include/zebramap.h b/include/zebramap.h index db4343c..a2850a3 100644 --- a/include/zebramap.h +++ b/include/zebramap.h @@ -1,8 +1,5 @@ -/* $Id: zebramap.h,v 1.28 2007-12-07 14:09:09 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) 1994-2011 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 @@ -38,6 +35,9 @@ YAZ_EXPORT ZEBRA_RES zebra_maps_read_file(zebra_maps_t zms, const char *fname); YAZ_EXPORT +void zebra_maps_define_default_sort(zebra_maps_t zms); + +YAZ_EXPORT void zebra_maps_close(zebra_maps_t zm); YAZ_EXPORT @@ -100,7 +100,8 @@ int zebra_map_tokenize_start(zebra_map_t zm, YAZ_EXPORT int zebra_map_tokenize_next(zebra_map_t zm, - const char **result_buf, size_t *result_len); + const char **result_buf, size_t *result_len, + const char **display_buf, size_t *display_len); YAZ_END_CDECL @@ -108,6 +109,7 @@ YAZ_END_CDECL /* * Local variables: * c-basic-offset: 4 + * c-file-style: "Stroustrup" * indent-tabs-mode: nil * End: * vim: shiftwidth=4 tabstop=8 expandtab