-/* $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.
#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];
int size; /* size of record or 0 if free entry */
};
+Record rec_cp(Record rec);
+
YAZ_END_CDECL
/*
* Local variables: