aboutsummaryrefslogtreecommitdiff
path: root/src/util/container_multihashmap.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-04-30 07:29:31 +0000
committerChristian Grothoff <christian@grothoff.org>2015-04-30 07:29:31 +0000
commita49b0f351926cf4376a58937a94e37426e3ae167 (patch)
treed2d36817e0cc65d0300385934474a29ecfcf353a /src/util/container_multihashmap.c
parent0b48745c1c6ec80a8e99bcdb9514e028b8656fe0 (diff)
adding GNUNET_CONTAINER_multipeermap_get_random
Diffstat (limited to 'src/util/container_multihashmap.c')
-rw-r--r--src/util/container_multihashmap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/util/container_multihashmap.c b/src/util/container_multihashmap.c
index 80545176d9..df6dd5704a 100644
--- a/src/util/container_multihashmap.c
+++ b/src/util/container_multihashmap.c
@@ -841,7 +841,8 @@ GNUNET_CONTAINER_multihashmap_get_multiple (const struct
/**
* @ingroup hashmap
* Call @a it on a random value from the map, or not at all
- * if the map is empty.
+ * if the map is empty. Note that this function has linear
+ * complexity (in the size of the map).
*
* @param map the map
* @param it function to call on a random entry