aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_container_lib.h
diff options
context:
space:
mode:
authorNathan S. Evans <evans@in.tum.de>2010-08-31 14:09:50 +0000
committerNathan S. Evans <evans@in.tum.de>2010-08-31 14:09:50 +0000
commit789666b489d86a209676511af74e810c92585151 (patch)
tree094dd10a4a5b0f5bafcf44d25ba1bd559eb9532f /src/include/gnunet_container_lib.h
parentf9adc625e2f4ee5940dd71542a8b4c30dd1a3f5c (diff)
downloadgnunet-789666b489d86a209676511af74e810c92585151.tar.gz
gnunet-789666b489d86a209676511af74e810c92585151.zip
broken dht compilation fix
Diffstat (limited to 'src/include/gnunet_container_lib.h')
-rw-r--r--src/include/gnunet_container_lib.h17
1 files changed, 16 insertions, 1 deletions
diff --git a/src/include/gnunet_container_lib.h b/src/include/gnunet_container_lib.h
index e35ad1b74..19946d6f7 100644
--- a/src/include/gnunet_container_lib.h
+++ b/src/include/gnunet_container_lib.h
@@ -172,6 +172,21 @@ int GNUNET_CONTAINER_bloomfilter_or (struct GNUNET_CONTAINER_BloomFilter *bf,
172 const char *data, size_t size); 172 const char *data, size_t size);
173 173
174/** 174/**
175 * Or the entries of the given raw data array with the
176 * data of the given bloom filter. Assumes that
177 * the size of the data array and the current filter
178 * match.
179 *
180 * @param bf the filter
181 * @param to_or the bloomfilter to or-in
182 * @param size number of bytes in data
183 */
184int
185GNUNET_CONTAINER_bloomfilter_or2 (struct GNUNET_CONTAINER_BloomFilter *bf,
186 const struct GNUNET_CONTAINER_BloomFilter *to_or,
187 size_t size);
188
189/**
175 * Resize a bloom filter. Note that this operation 190 * Resize a bloom filter. Note that this operation
176 * is pretty costly. Essentially, the bloom filter 191 * is pretty costly. Essentially, the bloom filter
177 * needs to be completely re-build. 192 * needs to be completely re-build.
@@ -498,7 +513,7 @@ enum GNUNET_CONTAINER_MultiHashMapOption
498 * GNUNET_NO if not. 513 * GNUNET_NO if not.
499 */ 514 */
500typedef int (*GNUNET_CONTAINER_HashMapIterator) (void *cls, 515typedef int (*GNUNET_CONTAINER_HashMapIterator) (void *cls,
501 const GNUNET_HashCode * key, 516 const GNUNET_HashCode * key,
502 void *value); 517 void *value);
503 518
504 519