diff options
author | Christian Grothoff <christian@grothoff.org> | 2009-10-20 07:23:56 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2009-10-20 07:23:56 +0000 |
commit | 4b552398216ae6fd2587cce5d4ab5b2fed141f4e (patch) | |
tree | 634c83030c5d7271fd32194a2ae62b306f8e30d7 /src/include/gnunet_container_lib.h | |
parent | 2c784744bc7a15956c7ee766b5914559279ee83f (diff) | |
download | gnunet-4b552398216ae6fd2587cce5d4ab5b2fed141f4e.tar.gz gnunet-4b552398216ae6fd2587cce5d4ab5b2fed141f4e.zip |
remove get_random from API
Diffstat (limited to 'src/include/gnunet_container_lib.h')
-rw-r--r-- | src/include/gnunet_container_lib.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/include/gnunet_container_lib.h b/src/include/gnunet_container_lib.h index 97bce967e..edda98e07 100644 --- a/src/include/gnunet_container_lib.h +++ b/src/include/gnunet_container_lib.h | |||
@@ -633,22 +633,6 @@ int GNUNET_CONTAINER_multihashmap_get_multiple (const struct | |||
633 | it, void *it_cls); | 633 | it, void *it_cls); |
634 | 634 | ||
635 | 635 | ||
636 | /** | ||
637 | * Returns the stored value of a random non-null entry in the hash | ||
638 | * table. Returns only the first value, does not go inside bucket | ||
639 | * linked list (yet). Runs with a worst case time of N, so it's not | ||
640 | * efficient in any way shape or form!!!!. | ||
641 | * | ||
642 | * @param map the map | ||
643 | * @return value associated with a random key | ||
644 | */ | ||
645 | void *GNUNET_CONTAINER_multihashmap_get_random (const struct | ||
646 | GNUNET_CONTAINER_MultiHashMap | ||
647 | *map); | ||
648 | |||
649 | |||
650 | |||
651 | |||
652 | /* ******************** doubly-linked list *************** */ | 636 | /* ******************** doubly-linked list *************** */ |
653 | 637 | ||
654 | /** | 638 | /** |