projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bloom: use bool
[fio.git]
/
lib
/
bloom.h
diff --git
a/lib/bloom.h
b/lib/bloom.h
index b3cde950450762fb46ffad52b12270a31e4d9ef6..329fd36ab77b21f4a75e0af31e92ea85294b0992 100644
(file)
--- a/
lib/bloom.h
+++ b/
lib/bloom.h
@@
-2,12
+2,12
@@
#define FIO_BLOOM_H
#include <inttypes.h>
#define FIO_BLOOM_H
#include <inttypes.h>
+#include "../lib/types.h"
struct bloom;
struct bloom *bloom_new(uint64_t entries);
void bloom_free(struct bloom *b);
struct bloom;
struct bloom *bloom_new(uint64_t entries);
void bloom_free(struct bloom *b);
-int bloom_check(struct bloom *b, uint32_t *data, unsigned int nwords);
-int bloom_set(struct bloom *b, uint32_t *data, unsigned int nwords);
+bool bloom_set(struct bloom *b, uint32_t *data, unsigned int nwords);
#endif
#endif