* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss
*
- * $Id: bfile.h,v 1.18 1999-12-08 15:03:11 adam Exp $
+ * $Id: bfile.h,v 1.20 2002-04-04 14:14:13 adam Exp $
*/
#ifndef BFILE_H
typedef struct BFiles_struct *BFiles;
-BFiles bfs_create (const char *spec);
+BFiles bfs_create (const char *spec, const char *base);
void bfs_destroy (BFiles bfiles);
typedef struct BFile_struct
{
MFile mf;
+ Zebra_lock_rdwr rdwr_lock;
struct CFile_struct *cf;
} *BFile, BFile_struct;
/* bf_cache: enables bfile cache if spec is not NULL */
void bf_cache (BFiles bfs, const char *spec);
-/* bf_lockDir: specifies locking directory for the cache system */
-void bf_lockDir (BFiles bfs, const char *lockDir);
-
/* bf_commitExists: returns 1 if commit is pending; 0 otherwise */
int bf_commitExists (BFiles bfs);