X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=bfile%2Fmfile.h;h=71fbf9da633217a577d8047a7ccd75de5483644a;hp=7b5be309ba45e9b4ddfac9d40e83894897ed9019;hb=3946190aece0417a4ad4e40946dfcb9f1bca4755;hpb=e57a1c65b9630e5b93d254519090bd0875c1d3c9 diff --git a/bfile/mfile.h b/bfile/mfile.h index 7b5be30..71fbf9d 100644 --- 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 @@ -85,7 +85,6 @@ typedef struct meta_file 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; @@ -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); /* - * 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