bloom: add string version
[fio.git] / lib / bloom.h
index 329fd36ab77b21f4a75e0af31e92ea85294b0992..d40d9f6bacf3ad15bbbcd65fe4b8491d1ebdb1f7 100644 (file)
@@ -9,5 +9,6 @@ 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);
 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_set_string(struct bloom *b, const char *data, unsigned int len);
 
 #endif
 
 #endif