projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gfio: add high/low priority latency results
[fio.git]
/
lib
/
bloom.h
diff --git
a/lib/bloom.h
b/lib/bloom.h
index 127ed9b77fb2100e692291f2dc0a155a23687617..141ead9a68c3f3fef76655bd8b6b9f5735a9459f 100644
(file)
--- a/
lib/bloom.h
+++ b/
lib/bloom.h
@@
-2,11
+2,13
@@
#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_set(struct bloom *b, uint32_t *data, unsigned int nwords);
+bool bloom_set(struct bloom *b, uint32_t *data, unsigned int nwords);
+bool bloom_string(struct bloom *b, const char *data, unsigned int len, bool);
#endif
#endif