Commit | Line | Data |
---|---|---|
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 | |
7 | struct bloom; | |
8 | ||
9 | struct bloom *bloom_new(uint64_t entries); | |
10 | void bloom_free(struct bloom *b); | |
c0d75983 | 11 | bool bloom_set(struct bloom *b, uint32_t *data, unsigned int nwords); |
eb50727a | 12 | bool bloom_string(struct bloom *b, const char *data, unsigned int len, bool); |
652ae149 JA |
13 | |
14 | #endif |