Small changes
authorSebastian Hammer <quinn@indexdata.com>
Wed, 14 Sep 1994 13:10:35 +0000 (13:10 +0000)
committerSebastian Hammer <quinn@indexdata.com>
Wed, 14 Sep 1994 13:10:35 +0000 (13:10 +0000)
include/bfile.h
include/isam.h
include/mfile.h

index 2a5bf98..84b0831 100644 (file)
@@ -4,9 +4,12 @@
  * Sebastian Hammer, Adam Dickmeiss
  *
  $Log: bfile.h,v $
- Revision 1.5  1994-08-24 08:45:52  quinn
- Using mfile.
+ Revision 1.6  1994-09-14 13:10:35  quinn
+ Small changes
 
+ * Revision 1.5  1994/08/24  08:45:52  quinn
+ * Using mfile.
+ *
  * Revision 1.4  1994/08/17  15:38:28  adam
  * Include of util.h.
  *
@@ -21,6 +24,8 @@
 #include <util.h>
 #include <mfile.h>
 
+#define bf_blocksize(bf) mf_blocksize(bf->mf)
+
 typedef struct BFile_struct
 {
     MFile mf;
index 126270e..d9a4d15 100644 (file)
@@ -4,7 +4,10 @@
  * Sebastian Hammer, Adam Dickmeiss
  *
  * $Log: isam.h,v $
- * Revision 1.1  1994-09-12 08:02:07  quinn
+ * Revision 1.2  1994-09-14 13:10:35  quinn
+ * Small changes
+ *
+ * Revision 1.1  1994/09/12  08:02:07  quinn
  * Not functional yet
  *
  */
@@ -27,9 +30,11 @@ typedef struct isam_blocktype
 {
     BFile bf;                    /* blocked file */
     int blocksize;
+    int first_block;             /* position of first data block */
     int max_keys_block;          /* max num of keys per block */
     int nice_keys_block;         /* nice number of keys per block */
     int max_keys;                /* max number of keys per table */
+    int freelist;                /* fist free block */
 } isam_blocktype;
 
 /*
index cb1889f..a2822bc 100644 (file)
@@ -4,7 +4,10 @@
  * Sebastian Hammer, Adam Dickmeiss
  *
  * $Log: mfile.h,v $
- * Revision 1.1  1994-08-23 14:41:46  quinn
+ * Revision 1.2  1994-09-14 13:10:36  quinn
+ * Small changes
+ *
+ * Revision 1.1  1994/08/23  14:41:46  quinn
  * First functional version of mfile.
  *
  */
@@ -20,6 +23,8 @@
 #define MF_DEFAULT_AREA "register"      /* Use if no mf_init */
 #define MF_MAX_PARTS 28                 /* max # of part-files per metafile */
 
+#define mf_blocksize(mf) ((mf)->blocksize)
+
 typedef struct mf_dir
 {
     char name[FILENAME_MAX+1];