extend
authorChristian Grothoff <christian@grothoff.org>
Wed, 21 Sep 2011 05:51:54 +0000 (05:51 +0000)
committerChristian Grothoff <christian@grothoff.org>
Wed, 21 Sep 2011 05:51:54 +0000 (05:51 +0000)
src/block/block.c

index 238334b6611373f06fd49e70c5560657eed23f15..7ab420f7ad2658702cb0db1e6e30b7485655f025 100644 (file)
@@ -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 */