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