bloom: hashes take byte lengths, not nwords
[fio.git] / lib / bloom.h
1 #ifndef FIO_BLOOM_H
2 #define FIO_BLOOM_H
3
4 #include <inttypes.h>
5 #include "../lib/types.h"
6
7 struct bloom;
8
9 struct bloom *bloom_new(uint64_t entries);
10 void bloom_free(struct bloom *b);
11 bool bloom_set(struct bloom *b, uint32_t *data, unsigned int nwords);
12
13 #endif