-rename to conform with naming conventions
authorChristian Grothoff <christian@grothoff.org>
Wed, 23 Apr 2014 10:47:47 +0000 (10:47 +0000)
committerChristian Grothoff <christian@grothoff.org>
Wed, 23 Apr 2014 10:47:47 +0000 (10:47 +0000)
src/include/gnunet_container_lib.h
src/util/container_bloomfilter.c

index 165643f60097e1ea8aef3efe592bef1d2a9cbd0b..a9c1f4b451d99a8c488ac27aff1ab40959dbb971 100644 (file)
@@ -61,14 +61,14 @@ struct GNUNET_CONTAINER_BloomFilter;
 
 /**
  * @ingroup bloomfilter
- * Iterator over struct GNUNET_HashCodes.
+ * Iterator over `struct GNUNET_HashCode`.
  *
  * @param cls closure
  * @param next set to the next hash code
  * @return #GNUNET_YES if next was updated
  *         #GNUNET_NO if there are no more entries
  */
-typedef int (*GNUNET_HashCodeIterator) (void *cls,
+typedef int (*GNUNET_CONTAINER_HashCodeIterator) (void *cls,
                                         struct GNUNET_HashCode *next);
 
 
@@ -260,7 +260,7 @@ GNUNET_CONTAINER_bloomfilter_or2 (struct GNUNET_CONTAINER_BloomFilter *bf,
  */
 void
 GNUNET_CONTAINER_bloomfilter_resize (struct GNUNET_CONTAINER_BloomFilter *bf,
-                                     GNUNET_HashCodeIterator iterator,
+                                     GNUNET_CONTAINER_HashCodeIterator iterator,
                                      void *iterator_cls, size_t size,
                                      unsigned int k);
 
index 9554e0ec091e3e54cb6fddef004758db644e6d66..8658320c18908de20cd4d5a2bd8353babdf34785 100644 (file)
@@ -850,7 +850,7 @@ GNUNET_CONTAINER_bloomfilter_remove (struct GNUNET_CONTAINER_BloomFilter *bf,
  */
 void
 GNUNET_CONTAINER_bloomfilter_resize (struct GNUNET_CONTAINER_BloomFilter *bf,
-                                     GNUNET_HashCodeIterator iterator,
+                                     GNUNET_CONTAINER_HashCodeIterator iterator,
                                      void *iterator_cls, size_t size,
                                      unsigned int k)
 {