From: Christian Grothoff Date: Wed, 23 Apr 2014 10:47:47 +0000 (+0000) Subject: -rename to conform with naming conventions X-Git-Tag: initial-import-from-subversion-38251~4157 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=21bac846638fbbbe2b03672295d4f14fc3ceb839;p=oweals%2Fgnunet.git -rename to conform with naming conventions --- diff --git a/src/include/gnunet_container_lib.h b/src/include/gnunet_container_lib.h index 165643f60..a9c1f4b45 100644 --- a/src/include/gnunet_container_lib.h +++ b/src/include/gnunet_container_lib.h @@ -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); diff --git a/src/util/container_bloomfilter.c b/src/util/container_bloomfilter.c index 9554e0ec0..8658320c1 100644 --- a/src/util/container_bloomfilter.c +++ b/src/util/container_bloomfilter.c @@ -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) {