projects
/
oweals
/
gnunet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
make libextractor actually optional, both for GNUnet and GNUnet-taler builds
[oweals/gnunet.git]
/
src
/
util
/
container_multihashmap.c
diff --git
a/src/util/container_multihashmap.c
b/src/util/container_multihashmap.c
index 80545176d9cc59e4fae54511002a6f231eb77ea8..46379b34efe2d8a62f029863423a1c98715ac7d4 100644
(file)
--- a/
src/util/container_multihashmap.c
+++ b/
src/util/container_multihashmap.c
@@
-24,7
+24,7
@@
*/
#include "platform.h"
*/
#include "platform.h"
-#include "gnunet_
util
_lib.h"
+#include "gnunet_
container
_lib.h"
#define LOG(kind,...) GNUNET_log_from (kind, "util", __VA_ARGS__)
#define LOG(kind,...) GNUNET_log_from (kind, "util", __VA_ARGS__)
@@
-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
/**
* @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
*
* @param map the map
* @param it function to call on a random entry