X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=index%2Frecindxp.h;h=13452b415ae0986da431ba8fe3dadb163b24726c;hb=8896080000b8d31751ca253b59aaae425ebd9e48;hp=1ecb6b4e037745d5708e4fd7e9418f3b7dc16d78;hpb=4478d785b7769691261005c98063b98a5a5971b3;p=idzebra-moved-to-github.git diff --git a/index/recindxp.h b/index/recindxp.h index 1ecb6b4..13452b4 100644 --- a/index/recindxp.h +++ b/index/recindxp.h @@ -1,5 +1,5 @@ -/* $Id: recindxp.h,v 1.19 2006-08-14 10:40:15 adam Exp $ - Copyright (C) 1995-2006 +/* $Id: recindxp.h,v 1.22 2007-11-23 13:11:08 adam Exp $ + Copyright (C) 1995-2007 Index Data ApS This file is part of the Zebra server. @@ -30,12 +30,18 @@ YAZ_BEGIN_CDECL #define REC_HEAD_MAGIC "recindex" #define REC_VERSION 5 +struct recindex { + char *index_fname; + BFile index_BFile; +}; + +typedef struct recindex *recindex_t; + struct records_info { int rw; int compression_method; - char *index_fname; - BFile index_BFile; + recindex_t recindex; char *data_fname[REC_BLOCK_TYPES]; BFile data_BFile[REC_BLOCK_TYPES]; @@ -80,6 +86,8 @@ struct record_index_entry { int size; /* size of record or 0 if free entry */ }; +Record rec_cp(Record rec); + YAZ_END_CDECL /* * Local variables: