From aa35fc15e22f972072d9e091b01e3a3c70e598f0 Mon Sep 17 00:00:00 2001 From: Christian Fuchs Date: Mon, 16 Dec 2013 16:14:09 +0000 Subject: - finished work on multipart sending in intersection - added getter for addressesPerElement from a bloomfilter - added multipart message format for intersection - added multipart message type for intersection --- src/include/gnunet_container_lib.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/include/gnunet_container_lib.h') diff --git a/src/include/gnunet_container_lib.h b/src/include/gnunet_container_lib.h index 6e782871a..03e3b4279 100644 --- a/src/include/gnunet_container_lib.h +++ b/src/include/gnunet_container_lib.h @@ -185,6 +185,15 @@ void GNUNET_CONTAINER_bloomfilter_free (struct GNUNET_CONTAINER_BloomFilter *bf); +/** + * Get the number of the addresses set per element in the bloom filter. + * + * @param bf the filter + * @return addresses set per element in the bf + */ +size_t +GNUNET_CONTAINER_bloomfilter_get_element_addresses (const struct GNUNET_CONTAINER_BloomFilter *bf); + /** * @ingroup bloomfilter * Get size of the bloom filter. -- cgit v1.2.3