X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=index%2Fkey_block.h;h=770d98c245489d15cb00c9cfb373ad7016643c40;hb=527dab66d9847bb7f8a931c558306a070064bf25;hp=378c462adf514c73dea382d17a4c062ae150abd6;hpb=dbb2d91da77e66472ebf9c9e5311a5b263ad66f1;p=idzebra-moved-to-github.git diff --git a/index/key_block.h b/index/key_block.h index 378c462..770d98c 100644 --- a/index/key_block.h +++ b/index/key_block.h @@ -1,5 +1,5 @@ -/* $Id: key_block.h,v 1.2 2006-11-21 17:48:08 adam Exp $ - Copyright (C) 1995-2006 +/* $Id: key_block.h,v 1.4 2007-01-15 20:08:25 adam Exp $ + Copyright (C) 1995-2007 Index Data ApS This file is part of the Zebra server. @@ -23,6 +23,8 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #ifndef ZEBRA_KEY_BLOCK_H #define ZEBRA_KEY_BLOCK_H +#include "it_key.h" + YAZ_BEGIN_CDECL typedef struct zebra_key_block *zebra_key_block_t; @@ -31,7 +33,7 @@ zebra_key_block_t key_block_create(int mem, const char *key_tmp_dir, int use_threads); void key_block_destroy(zebra_key_block_t *pp); void key_block_flush(zebra_key_block_t p, int is_final); -void key_block_write(zebra_key_block_t p, SYSNO sysno, struct it_key *key_in, +void key_block_write(zebra_key_block_t p, zint sysno, struct it_key *key_in, int cmd, const char *str_buf, size_t str_len, zint staticrank, int static_rank_enable); int key_block_get_no_files(zebra_key_block_t p);