projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
null: make *impl_ private
[fio.git]
/
filehash.h
diff --git
a/filehash.h
b/filehash.h
index a89a91f81d8d2ce6941deada5c02291df63ca6d2..5fecc3b100b31db7340c1a955b33c45fa2f49299 100644
(file)
--- a/
filehash.h
+++ b/
filehash.h
@@
-1,11
+1,15
@@
#ifndef FIO_FILE_HASH_H
#define FIO_FILE_HASH_H
#ifndef FIO_FILE_HASH_H
#define FIO_FILE_HASH_H
-extern unsigned int file_hash_size;
+#include "lib/types.h"
-extern void file_hash_init(void *);
+extern void file_hash_init(void);
+extern void file_hash_exit(void);
extern struct fio_file *lookup_file_hash(const char *);
extern struct fio_file *add_file_hash(struct fio_file *);
extern void remove_file_hash(struct fio_file *);
extern struct fio_file *lookup_file_hash(const char *);
extern struct fio_file *add_file_hash(struct fio_file *);
extern void remove_file_hash(struct fio_file *);
+extern void fio_file_hash_lock(void);
+extern void fio_file_hash_unlock(void);
+extern bool file_bloom_exists(const char *, bool);
#endif
#endif