-/* $Id: mfile.h,v 1.6 2006-08-14 10:40:05 adam Exp $
+/* $Id: mfile.h,v 1.8 2006-11-08 22:06:50 adam Exp $
Copyright (C) 1995-2006
Index Data ApS
int no_files;
int cur_file;
int open; /* is this file open? */
- int unlink_flag;
int blocksize;
mfile_off_t min_bytes_creat; /* minimum bytes required to enter directory */
MFile_area ma;
*/
int mf_close(MFile mf);
-/*
- * Read one block from a metafile. Interface mirrors bfile.
- */
int mf_read(MFile mf, zint no, int offset, int nbytes, void *buf);
-/*
- * Same.
- */
int mf_write(MFile mf, zint no, int offset, int nbytes, const void *buf);
/*
- * Destroy a metafile, unlinking component files. File must be open.
- */
-int mf_unlink(MFile mf);
-
-
-/*
* Destroy all metafiles. No files may be opened.
*/
-void mf_reset(MFile_area ma);
+void mf_reset(MFile_area ma, int unlink_flag);
/* \brief gets statistics about directory in metafile area
\param ma the area