Work locking mechanisms for concurrent updates/commit.
[idzebra-moved-to-github.git] / index / zserver.h
index b05c8fb..d234356 100644 (file)
@@ -4,7 +4,13 @@
  * Sebastian Hammer, Adam Dickmeiss
  *
  * $Log: zserver.h,v $
- * Revision 1.14  1995-11-16 17:00:57  adam
+ * Revision 1.16  1995-12-07 17:38:48  adam
+ * Work locking mechanisms for concurrent updates/commit.
+ *
+ * Revision 1.15  1995/11/21  15:29:13  adam
+ * Config file 'base' read by default by both indexer and server.
+ *
+ * Revision 1.14  1995/11/16  17:00:57  adam
  * Better logging of rpn query.
  *
  * Revision 1.13  1995/11/16  15:34:56  adam
@@ -54,9 +60,7 @@
 #include <rset.h>
 
 #include "index.h"
-#if RECORD_BASE
 #include "recindex.h"
-#endif
 
 typedef struct {
     int sysno;
@@ -71,15 +75,11 @@ typedef struct ZServerSet_ {
 } ZServerSet;
    
 typedef struct {
+    int registerState; /* 0 (no commit pages), 1 (use commit pages) */
     ZServerSet *sets;
     Dict wordDict;
     ISAM wordIsam;
-    Dict fileDict;
-#if RECORD_BASE
     Records records;
-#else
-    int sys_idx_fd;
-#endif
     int errCode;
     char *errString;
     ODR odr;