From 10308210564e255926512fe26e77909eced466bf Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 21 Sep 2011 05:51:54 +0000 Subject: [PATCH] extend --- src/block/block.c | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/src/block/block.c b/src/block/block.c index 238334b66..7ab420f7a 100644 --- a/src/block/block.c +++ b/src/block/block.c @@ -249,4 +249,25 @@ GNUNET_BLOCK_get_key (struct GNUNET_BLOCK_Context *ctx, } + +/** + * Construct a bloom filter that would filter out the given + * results. + * + * @param bf_mutator mutation value to use + * @param seen_results results already seen + * @param seen_results_count number of entries in 'seen_results' + * @return NULL if seen_results_count is 0, otherwise a BF + * that would match the given results. + */ +struct GNUNET_CONTAINER_BloomFilter * +GNUNET_BLOCK_construct_bloomfilter (int32_t bf_mutator, + const GNUNET_HashCode *seen_results, + unsigned int seen_results_count) +{ + GNUNET_break (0); + return NULL; +} + + /* end of block.c */ -- 2.25.1