Factor records system mgt into recindex.c, records.c.
[idzebra-moved-to-github.git] / index / recindxp.h
index dbc2e29..a38ceb4 100644 (file)
@@ -1,5 +1,5 @@
-/* $Id: recindxp.h,v 1.18 2006-05-10 08:13:22 adam Exp $
-   Copyright (C) 1995-2005
+/* $Id: recindxp.h,v 1.23 2007-11-23 13:52:52 adam Exp $
+   Copyright (C) 1995-2007
    Index Data ApS
 
 This file is part of the Zebra server.
@@ -15,9 +15,9 @@ FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
 for more details.
 
 You should have received a copy of the GNU General Public License
-along with Zebra; see the file LICENSE.zebra.  If not, write to the
-Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
-02111-1307, USA.
+along with this program; if not, write to the Free Software
+Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+
 */
 
 #include "recindex.h"
@@ -34,8 +34,7 @@ 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 +79,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: