Added public ZebDatabaseInfo structure.
[idzebra-moved-to-github.git] / index / zinfo.h
index 09368d4..f707aee 100644 (file)
@@ -4,7 +4,10 @@
  * Sebastian Hammer, Adam Dickmeiss
  *
  * $Log: zinfo.h,v $
- * Revision 1.1  1996-05-13 14:23:07  adam
+ * Revision 1.2  1996-05-22 08:22:00  adam
+ * Added public ZebDatabaseInfo structure.
+ *
+ * Revision 1.1  1996/05/13 14:23:07  adam
  * Work on compaction of set/use bytes in dictionary.
  *
  */
@@ -12,6 +15,9 @@
 #include "recindex.h"
 
 typedef struct zebTargetInfo ZebTargetInfo;
+typedef struct zebDatabaseInfo {
+    int noOfRecords;
+} ZebDatabaseInfo;
 
 ZebTargetInfo *zebTargetInfo_open (Records records, int writeFlag);
 void zebTargetInfo_close (ZebTargetInfo *zti, int writeFlag);
@@ -19,3 +25,5 @@ int zebTargetInfo_curDatabase (ZebTargetInfo *zti, const char *database);
 int zebTargetInfo_newDatabase (ZebTargetInfo *zti, const char *database);
 int zebTargetInfo_lookupSU (ZebTargetInfo *zti, int set, int use);
 int zebTargetInfo_addSU (ZebTargetInfo *zti, int set, int use);
+ZebDatabaseInfo *zebTargetInfo_getDB (ZebTargetInfo *zti);
+void zebTargetInfo_setDB (ZebTargetInfo *zti, ZebDatabaseInfo *zdi);