diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-09-21 05:51:54 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-09-21 05:51:54 +0000 |
commit | 10308210564e255926512fe26e77909eced466bf (patch) | |
tree | 6310f9d42886b6f8c972be9d1e86ae1902efbe1a /src/block/block.c | |
parent | 3419a38c90bf6fb4a92990fad739b2c1c7b72041 (diff) | |
download | gnunet-10308210564e255926512fe26e77909eced466bf.tar.gz gnunet-10308210564e255926512fe26e77909eced466bf.zip |
extend
Diffstat (limited to 'src/block/block.c')
-rw-r--r-- | src/block/block.c | 21 |
1 files changed, 21 insertions, 0 deletions
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, | |||
249 | } | 249 | } |
250 | 250 | ||
251 | 251 | ||
252 | |||
253 | /** | ||
254 | * Construct a bloom filter that would filter out the given | ||
255 | * results. | ||
256 | * | ||
257 | * @param bf_mutator mutation value to use | ||
258 | * @param seen_results results already seen | ||
259 | * @param seen_results_count number of entries in 'seen_results' | ||
260 | * @return NULL if seen_results_count is 0, otherwise a BF | ||
261 | * that would match the given results. | ||
262 | */ | ||
263 | struct GNUNET_CONTAINER_BloomFilter * | ||
264 | GNUNET_BLOCK_construct_bloomfilter (int32_t bf_mutator, | ||
265 | const GNUNET_HashCode *seen_results, | ||
266 | unsigned int seen_results_count) | ||
267 | { | ||
268 | GNUNET_break (0); | ||
269 | return NULL; | ||
270 | } | ||
271 | |||
272 | |||
252 | /* end of block.c */ | 273 | /* end of block.c */ |