X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=bfile%2Fcfile.h;h=ef0a692ddced1b46021c89d5e2fde90134fd17a9;hb=c41c84a497ae744aa825a90f144c85b54f1cd4bb;hp=68ee5525a0ce72df550fcccd55caabc8dd628a70;hpb=bceca936710690858ea162e7bc22de819f0e280f;p=idzebra-moved-to-github.git diff --git a/bfile/cfile.h b/bfile/cfile.h index 68ee552..ef0a692 100644 --- a/bfile/cfile.h +++ b/bfile/cfile.h @@ -3,12 +3,16 @@ * All rights reserved. * Sebastian Hammer, Adam Dickmeiss * - * $Id: cfile.h,v 1.11 1999-05-12 13:08:06 adam Exp $ + * $Id: cfile.h,v 1.13 2000-03-20 19:08:35 adam Exp $ */ #ifndef CFILE_H #define CFILE_H +#include + +YAZ_BEGIN_CDECL + #define HASH_BUCKET 15 struct CFile_ph_bucket { /* structure on disc */ @@ -52,6 +56,7 @@ typedef struct CFile_struct MFile rmf; int no_hits; int no_miss; + Zebra_mutex mutex; } *CFile; int cf_close (CFile cf); @@ -62,4 +67,6 @@ int cf_write (CFile cf, int no, int offset, int nbytes, const void *buf); void cf_unlink (CFile cf); void cf_commit (CFile cf); +YAZ_END_CDECL + #endif