From 5ce71ebb74e0e819d6a4d612314cc5942c24cdac Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 30 Sep 2011 18:58:43 +0000 Subject: adding empty lines --- src/util/container_bloomfilter.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/util/container_bloomfilter.c') diff --git a/src/util/container_bloomfilter.c b/src/util/container_bloomfilter.c index 7176bb1e3..b7be764b5 100644 --- a/src/util/container_bloomfilter.c +++ b/src/util/container_bloomfilter.c @@ -322,6 +322,7 @@ typedef int (*BitIterator) (void *cls, const struct GNUNET_CONTAINER_BloomFilter * bf, unsigned int bit); + /** * Call an iterator for each bit that the bloomfilter * must test or set for this element. @@ -367,6 +368,7 @@ iterateBits (const struct GNUNET_CONTAINER_BloomFilter *bf, } } + /** * Callback: increment bit * @@ -385,6 +387,7 @@ incrementBitCallback (void *cls, const struct GNUNET_CONTAINER_BloomFilter *bf, return GNUNET_YES; } + /** * Callback: decrement bit * @@ -403,6 +406,7 @@ decrementBitCallback (void *cls, const struct GNUNET_CONTAINER_BloomFilter *bf, return GNUNET_YES; } + /** * Callback: test if all bits are set * @@ -587,6 +591,7 @@ GNUNET_CONTAINER_bloomfilter_get_raw_data (const struct return GNUNET_OK; } + /** * Free the space associated with a filter * in memory, flush to drive if needed (do not @@ -606,6 +611,7 @@ GNUNET_CONTAINER_bloomfilter_free (struct GNUNET_CONTAINER_BloomFilter *bf) GNUNET_free (bf); } + /** * Reset a bloom filter to empty. Clears the file on disk. * @@ -643,6 +649,7 @@ GNUNET_CONTAINER_bloomfilter_test (const struct GNUNET_CONTAINER_BloomFilter return res; } + /** * Add an element to the filter * @@ -653,7 +660,6 @@ void GNUNET_CONTAINER_bloomfilter_add (struct GNUNET_CONTAINER_BloomFilter *bf, const GNUNET_HashCode * e) { - if (NULL == bf) return; iterateBits (bf, &incrementBitCallback, bf, e); -- cgit v1.2.3