X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=lib%2Fbloom.h;h=d40d9f6bacf3ad15bbbcd65fe4b8491d1ebdb1f7;hp=127ed9b77fb2100e692291f2dc0a155a23687617;hb=0a301e93062df3735f9bb87c445e18d98a4b6efb;hpb=26884f210ab7e7af688e86c4f16ae1f2f244b4a5 diff --git a/lib/bloom.h b/lib/bloom.h index 127ed9b7..d40d9f6b 100644 --- a/lib/bloom.h +++ b/lib/bloom.h @@ -2,11 +2,13 @@ #define FIO_BLOOM_H #include +#include "../lib/types.h" struct bloom; struct bloom *bloom_new(uint64_t entries); void bloom_free(struct bloom *b); -int bloom_set(struct bloom *b, uint32_t *data, unsigned int nwords); +bool bloom_set(struct bloom *b, uint32_t *data, unsigned int nwords); +bool bloom_set_string(struct bloom *b, const char *data, unsigned int len); #endif