Function gnunet_sys::GNUNET_CONTAINER_bloomfilter_resize [−][src]
pub unsafe extern "C" fn GNUNET_CONTAINER_bloomfilter_resize(
bf: *mut GNUNET_CONTAINER_BloomFilter,
iterator: GNUNET_CONTAINER_HashCodeIterator,
iterator_cls: *mut c_void,
size: usize,
k: c_uint
)
@ingroup bloomfilter Resize a bloom filter. Note that this operation is pretty costly. Essentially, the Bloom filter needs to be completely re-build.
@param bf the filter @param iterator an iterator over all elements stored in the BF @param iterator_cls closure for @a iterator @param size the new size for the filter @param k the new number of #GNUNET_CRYPTO_hash-function to apply per element