projects
/
idzebra-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Newline at end of file
[idzebra-moved-to-github.git]
/
bfile
/
cfile.h
diff --git
a/bfile/cfile.h
b/bfile/cfile.h
index
0f22c29
..
ef0a692
100644
(file)
--- a/
bfile/cfile.h
+++ b/
bfile/cfile.h
@@
-3,15
+3,15
@@
* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss
*
* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss
*
- * $Id: cfile.h,v 1.12 1999-05-26 07:49:12 adam Exp $
+ * $Id: cfile.h,v 1.13 2000-03-20 19:08:35 adam Exp $
*/
#ifndef CFILE_H
#define CFILE_H
*/
#ifndef CFILE_H
#define CFILE_H
-#ifdef __cplusplus
-extern "C" {
-#endif
+#include <yaz/yconfig.h>
+
+YAZ_BEGIN_CDECL
#define HASH_BUCKET 15
#define HASH_BUCKET 15
@@
-56,6
+56,7
@@
typedef struct CFile_struct
MFile rmf;
int no_hits;
int no_miss;
MFile rmf;
int no_hits;
int no_miss;
+ Zebra_mutex mutex;
} *CFile;
int cf_close (CFile cf);
} *CFile;
int cf_close (CFile cf);
@@
-66,8
+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);
void cf_unlink (CFile cf);
void cf_commit (CFile cf);
-#ifdef __cplusplus
-}
-#endif
+YAZ_END_CDECL
#endif
#endif