Merge branch 'evelu-peak' of https://github.com/ErwanAliasr1/fio
[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);
eb50727a 12bool bloom_string(struct bloom *b, const char *data, unsigned int len, bool);
652ae149
JA
13
14#endif