blob: 141ead9a68c3f3fef76655bd8b6b9f5735a9459f [file] [log] [blame]
#ifndef FIO_BLOOM_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);
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