X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fbfile.h;h=d3c9380f85f30b8985c71d89faaee0b64e025adc;hb=ba572d8e1de44023f355c09c4250328aba0e9a47;hp=af8c209ef2462cb2cababe20ffd45d2b5488e52d;hpb=bceca936710690858ea162e7bc22de819f0e280f;p=idzebra-moved-to-github.git diff --git a/include/bfile.h b/include/bfile.h index af8c209..d3c9380 100644 --- a/include/bfile.h +++ b/include/bfile.h @@ -3,7 +3,7 @@ * All rights reserved. * Sebastian Hammer, Adam Dickmeiss * - * $Id: bfile.h,v 1.17 1999-05-12 13:08:06 adam Exp $ + * $Id: bfile.h,v 1.19 2000-03-15 15:00:30 adam Exp $ */ #ifndef BFILE_H @@ -25,6 +25,7 @@ void bfs_destroy (BFiles bfiles); typedef struct BFile_struct { MFile mf; + Zebra_lock_rdwr rdwr_lock; struct CFile_struct *cf; } *BFile, BFile_struct; @@ -68,6 +69,9 @@ void bf_commitExec (BFiles bfs); /* bf_commitClean: cleans commit files, etc */ void bf_commitClean (BFiles bfs, const char *spec); +/* bf_reset: delete register and shadow completely */ +void bf_reset (BFiles bfs); + #ifdef __cplusplus } #endif