aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_block_lib.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-09-21 05:51:49 +0000
committerChristian Grothoff <christian@grothoff.org>2011-09-21 05:51:49 +0000
commit3419a38c90bf6fb4a92990fad739b2c1c7b72041 (patch)
tree2c195601adb1cf344cee45aa2f94ce19795e2fed /src/include/gnunet_block_lib.h
parenta864897478e2ee94ab36648e7f1db6f0dd57ea43 (diff)
downloadgnunet-3419a38c90bf6fb4a92990fad739b2c1c7b72041.tar.gz
gnunet-3419a38c90bf6fb4a92990fad739b2c1c7b72041.zip
extend
Diffstat (limited to 'src/include/gnunet_block_lib.h')
-rw-r--r--src/include/gnunet_block_lib.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/include/gnunet_block_lib.h b/src/include/gnunet_block_lib.h
index 01a1ec2fc..a362e5b77 100644
--- a/src/include/gnunet_block_lib.h
+++ b/src/include/gnunet_block_lib.h
@@ -232,6 +232,23 @@ GNUNET_BLOCK_get_key (struct GNUNET_BLOCK_Context *ctx,
232 size_t block_size, GNUNET_HashCode * key); 232 size_t block_size, GNUNET_HashCode * key);
233 233
234 234
235
236/**
237 * Construct a bloom filter that would filter out the given
238 * results.
239 *
240 * @param bf_mutator mutation value to use
241 * @param seen_results results already seen
242 * @param seen_results_count number of entries in 'seen_results'
243 * @return NULL if seen_results_count is 0, otherwise a BF
244 * that would match the given results.
245 */
246struct GNUNET_CONTAINER_BloomFilter *
247GNUNET_BLOCK_construct_bloomfilter (int32_t bf_mutator,
248 const GNUNET_HashCode *seen_results,
249 unsigned int seen_results_count);
250
251
235#if 0 /* keep Emacsens' auto-indent happy */ 252#if 0 /* keep Emacsens' auto-indent happy */
236{ 253{
237#endif 254#endif