X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=bfile%2Fmfile.h;h=71fbf9da633217a577d8047a7ccd75de5483644a;hb=9eaf65aa25be411fbd6298292f5ad7a7df7083ed;hp=7f653cbae2de4d1051ef2e32492bc911937bf1d1;hpb=ecb3935e78cd9bcfdebafdee0834cfb1060d7b5e;p=idzebra-moved-to-github.git diff --git a/bfile/mfile.h b/bfile/mfile.h index 7f653cb..71fbf9d 100644 --- a/bfile/mfile.h +++ b/bfile/mfile.h @@ -1,5 +1,5 @@ -/* $Id: mfile.h,v 1.5 2006-05-10 08:13:17 adam Exp $ - Copyright (C) 1995-2005 +/* $Id: mfile.h,v 1.7 2006-10-09 22:10:00 adam Exp $ + Copyright (C) 1995-2006 Index Data ApS This file is part of the Zebra server. @@ -15,9 +15,9 @@ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License -along with Zebra; see the file LICENSE.zebra. If not, write to the -Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA -02111-1307, USA. +along with this program; if not, write to the Free Software +Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + */ @@ -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