Function gnunet_sys::GNUNET_CONTAINER_bloomfilter_load [−][src]
pub unsafe extern "C" fn GNUNET_CONTAINER_bloomfilter_load(
filename: *const c_char,
size: usize,
k: c_uint
) -> *mut GNUNET_CONTAINER_BloomFilter
@ingroup bloomfilter Load a Bloom filter from a file.
@param filename the name of the file (or the prefix) @param size the size of the bloom-filter (number of bytes of storage space to use); will be rounded up to next power of 2 @param k the number of #GNUNET_CRYPTO_hash-functions to apply per element (number of bits set per element in the set) @return the bloomfilter