Home | History | Annotate | Download | only in lib
      1 #ifndef FIO_BLOOM_H
      2 #define FIO_BLOOM_H
      3 
      4 #include <inttypes.h>
      5 #include "../lib/types.h"
      6 
      7 struct bloom;
      8 
      9 struct bloom *bloom_new(uint64_t entries);
     10 void bloom_free(struct bloom *b);
     11 bool bloom_set(struct bloom *b, uint32_t *data, unsigned int nwords);
     12 bool bloom_string(struct bloom *b, const char *data, unsigned int len, bool);
     13 
     14 #endif
     15