23 #include <yaz/yconfig.h>
25 #include <yaz/wrbuf.h>
29 #define SORT_IDX_ENTRYSIZE 64
36 #define ZEBRA_SORT_TYPE_FLAT 1
37 #define ZEBRA_SORT_TYPE_ISAMB 2
38 #define ZEBRA_SORT_TYPE_MULTI 3
int zebra_sort_read(zebra_sort_index_t si, zint *section_id, WRBUF w)
reads sort entry
void zebra_sort_close(zebra_sort_index_t si)
frees sort handle
int zebra_sort_type(zebra_sort_index_t si, int type)
sets type for sort usage
struct zebra_sort_index * zebra_sort_index_t
sort index handle
void zebra_sort_add(zebra_sort_index_t si, zint section_id, WRBUF w)
adds multi-map content to sort file
zebra_sort_index_t zebra_sort_open(BFiles bfs, int write_flag, int sort_type)
creates sort handle
void zebra_sort_sysno(zebra_sort_index_t si, zint sysno)
sets sort system number for read / add / delete
void zebra_sort_delete(zebra_sort_index_t si, zint section_id)
delete sort entry