X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=include%2Fsortidx.h;fp=include%2Fsortidx.h;h=f944ba78b3ecab082d432c4b960349e3ee5a7e01;hp=31d210ba9a9500b7004665799dfdd99da163da4b;hb=0ef68e6e54cfd7a91a28ee3b1f305924ac34e787;hpb=55c58d19e99fdbc8f6035f9e88eea563970379e8 diff --git a/include/sortidx.h b/include/sortidx.h index 31d210b..f944ba7 100644 --- a/include/sortidx.h +++ b/include/sortidx.h @@ -23,6 +23,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #include #include #include +#include YAZ_BEGIN_CDECL @@ -35,6 +36,7 @@ typedef struct zebra_sort_index *zebra_sort_index_t; #define ZEBRA_SORT_TYPE_FLAT 1 #define ZEBRA_SORT_TYPE_ISAMB 2 +#define ZEBRA_SORT_TYPE_MULTI 3 /** \brief creates sort handle @@ -84,7 +86,7 @@ void zebra_sort_delete(zebra_sort_index_t si); \retval 0 could not be read \retval 1 could be read (found) */ -int zebra_sort_read(zebra_sort_index_t si, char *buf); +int zebra_sort_read(zebra_sort_index_t si, WRBUF w); YAZ_END_CDECL