From: Christian Grothoff Date: Wed, 21 Sep 2011 05:51:54 +0000 (+0000) Subject: extend X-Git-Tag: initial-import-from-subversion-38251~16993 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=10308210564e255926512fe26e77909eced466bf;p=oweals%2Fgnunet.git extend --- 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 */