X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=include%2Fmfile.h;h=ee8231fec512763013950db67c9396fb0ea265bb;hb=e5ba12655112ab17ee08e0d048cc5afae8e8c670;hp=dc6249927e2f65540365d987b4d7129ee1e6daa3;hpb=eb2b742588ce07fb4516bbca22c93b938b13e433;p=idzebra-moved-to-github.git diff --git a/include/mfile.h b/include/mfile.h index dc62499..ee8231f 100644 --- a/include/mfile.h +++ b/include/mfile.h @@ -3,7 +3,7 @@ * All rights reserved. * Sebastian Hammer, Adam Dickmeiss * - * $Id: mfile.h,v 1.13 2000-03-15 15:00:30 adam Exp $ + * $Id: mfile.h,v 1.15 2000-04-17 14:22:00 adam Exp $ */ #ifndef MFILE_H @@ -26,6 +26,10 @@ YAZ_BEGIN_CDECL #define mf_blocksize(mf) ((mf)->blocksize) +#ifdef WIN32 +typedef long off_t; +#endif + typedef struct mf_dir { char name[FILENAME_MAX+1]; @@ -55,8 +59,8 @@ typedef struct meta_file int no_files; int cur_file; int open; /* is this file open? */ - int blocksize; - int min_bytes_creat; /* minimum bytes required to enter directory */ + off_t blocksize; + off_t min_bytes_creat; /* minimum bytes required to enter directory */ MFile_area ma; int wr; Zebra_mutex mutex;