* 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.
*
#include <util.h>
#include <mfile.h>
+#define bf_blocksize(bf) mf_blocksize(bf->mf)
+
typedef struct BFile_struct
{
MFile mf;
* 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
*
*/
{
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;
/*
* 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.
*
*/
#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];