gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r12781 - gnunet/src/include


From: gnunet
Subject: [GNUnet-SVN] r12781 - gnunet/src/include
Date: Tue, 31 Aug 2010 16:09:50 +0200

Author: nevans
Date: 2010-08-31 16:09:50 +0200 (Tue, 31 Aug 2010)
New Revision: 12781

Modified:
   gnunet/src/include/gnunet_container_lib.h
Log:
broken dht compilation fix

Modified: gnunet/src/include/gnunet_container_lib.h
===================================================================
--- gnunet/src/include/gnunet_container_lib.h   2010-08-31 14:09:16 UTC (rev 
12780)
+++ gnunet/src/include/gnunet_container_lib.h   2010-08-31 14:09:50 UTC (rev 
12781)
@@ -172,6 +172,21 @@
                                      const char *data, size_t size);
 
 /**
+ * Or the entries of the given raw data array with the
+ * data of the given bloom filter.  Assumes that
+ * the size of the data array and the current filter
+ * match.
+ *
+ * @param bf the filter
+ * @param to_or the bloomfilter to or-in
+ * @param size number of bytes in data
+ */
+int
+GNUNET_CONTAINER_bloomfilter_or2 (struct GNUNET_CONTAINER_BloomFilter *bf,
+                                  const struct GNUNET_CONTAINER_BloomFilter 
*to_or,
+                                  size_t size);
+
+/**
  * Resize a bloom filter.  Note that this operation
  * is pretty costly.  Essentially, the bloom filter
  * needs to be completely re-build.
@@ -498,7 +513,7 @@
  *         GNUNET_NO if not.
  */
 typedef int (*GNUNET_CONTAINER_HashMapIterator) (void *cls,
-                                                const GNUNET_HashCode * key,
+                                                 const GNUNET_HashCode * key,
                                                  void *value);
 
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]