projects
/
idzebra-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Simplify and optimize commit clean operation
[idzebra-moved-to-github.git]
/
bfile
/
mfile.h
diff --git
a/bfile/mfile.h
b/bfile/mfile.h
index
7b5be30
..
71fbf9d
100644
(file)
--- a/
bfile/mfile.h
+++ b/
bfile/mfile.h
@@
-1,4
+1,4
@@
-/* $Id: mfile.h,v 1.6 2006-08-14 10:40:05 adam Exp $
+/* $Id: mfile.h,v 1.7 2006-10-09 22:10:00 adam Exp $
Copyright (C) 1995-2006
Index Data ApS
Copyright (C) 1995-2006
Index Data ApS
@@
-85,7
+85,6
@@
typedef struct meta_file
int no_files;
int cur_file;
int open; /* is this file open? */
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 blocksize;
mfile_off_t min_bytes_creat; /* minimum bytes required to enter directory */
MFile_area ma;
@@
-135,15
+134,9
@@
int mf_read(MFile mf, zint no, int offset, int nbytes, void *buf);
int mf_write(MFile mf, zint no, int offset, int nbytes, const void *buf);
/*
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.
*/
* 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
/* \brief gets statistics about directory in metafile area
\param ma the area