f707aee3825a8b64484b324bf7f33429bbfea466
[idzebra-moved-to-github.git] / index / zinfo.h
1 /*
2  * Copyright (C) 1994-1996, Index Data I/S 
3  * All rights reserved.
4  * Sebastian Hammer, Adam Dickmeiss
5  *
6  * $Log: zinfo.h,v $
7  * Revision 1.2  1996-05-22 08:22:00  adam
8  * Added public ZebDatabaseInfo structure.
9  *
10  * Revision 1.1  1996/05/13 14:23:07  adam
11  * Work on compaction of set/use bytes in dictionary.
12  *
13  */
14
15 #include "recindex.h"
16
17 typedef struct zebTargetInfo ZebTargetInfo;
18 typedef struct zebDatabaseInfo {
19     int noOfRecords;
20 } ZebDatabaseInfo;
21
22 ZebTargetInfo *zebTargetInfo_open (Records records, int writeFlag);
23 void zebTargetInfo_close (ZebTargetInfo *zti, int writeFlag);
24 int zebTargetInfo_curDatabase (ZebTargetInfo *zti, const char *database);
25 int zebTargetInfo_newDatabase (ZebTargetInfo *zti, const char *database);
26 int zebTargetInfo_lookupSU (ZebTargetInfo *zti, int set, int use);
27 int zebTargetInfo_addSU (ZebTargetInfo *zti, int set, int use);
28 ZebDatabaseInfo *zebTargetInfo_getDB (ZebTargetInfo *zti);
29 void zebTargetInfo_setDB (ZebTargetInfo *zti, ZebDatabaseInfo *zdi);