aboutsummaryrefslogtreecommitdiff
path: root/src/util/container_multihashmap.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-08-15 21:54:06 +0000
committerChristian Grothoff <christian@grothoff.org>2011-08-15 21:54:06 +0000
commit5746309cb4be2073d550ad7a6885e918631dbc38 (patch)
tree89455bc4aadf977816b38df13f990372cd81d71a /src/util/container_multihashmap.c
parent6fd3e715cae09fa6e657c96f1c6f9711ee51f42f (diff)
downloadgnunet-5746309cb4be2073d550ad7a6885e918631dbc38.tar.gz
gnunet-5746309cb4be2073d550ad7a6885e918631dbc38.zip
indentation
Diffstat (limited to 'src/util/container_multihashmap.c')
-rw-r--r--src/util/container_multihashmap.c19
1 files changed, 8 insertions, 11 deletions
diff --git a/src/util/container_multihashmap.c b/src/util/container_multihashmap.c
index 9635af17d..974d6c7f7 100644
--- a/src/util/container_multihashmap.c
+++ b/src/util/container_multihashmap.c
@@ -230,9 +230,8 @@ GNUNET_CONTAINER_multihashmap_iterate (const struct
230 * is not in the map 230 * is not in the map
231 */ 231 */
232int 232int
233GNUNET_CONTAINER_multihashmap_remove (struct GNUNET_CONTAINER_MultiHashMap 233GNUNET_CONTAINER_multihashmap_remove (struct GNUNET_CONTAINER_MultiHashMap *map,
234 *map, const GNUNET_HashCode * key, 234 const GNUNET_HashCode * key, void *value)
235 void *value)
236{ 235{
237 struct MapEntry *e; 236 struct MapEntry *e;
238 struct MapEntry *p; 237 struct MapEntry *p;
@@ -348,8 +347,7 @@ GNUNET_CONTAINER_multihashmap_contains (const struct
348int 347int
349GNUNET_CONTAINER_multihashmap_contains_value (const struct 348GNUNET_CONTAINER_multihashmap_contains_value (const struct
350 GNUNET_CONTAINER_MultiHashMap 349 GNUNET_CONTAINER_MultiHashMap
351 *map, 350 *map, const GNUNET_HashCode * key,
352 const GNUNET_HashCode * key,
353 const void *value) 351 const void *value)
354{ 352{
355 struct MapEntry *e; 353 struct MapEntry *e;
@@ -416,8 +414,7 @@ grow (struct GNUNET_CONTAINER_MultiHashMap *map)
416 */ 414 */
417int 415int
418GNUNET_CONTAINER_multihashmap_put (struct GNUNET_CONTAINER_MultiHashMap *map, 416GNUNET_CONTAINER_multihashmap_put (struct GNUNET_CONTAINER_MultiHashMap *map,
419 const GNUNET_HashCode * key, 417 const GNUNET_HashCode * key, void *value,
420 void *value,
421 enum GNUNET_CONTAINER_MultiHashMapOption opt) 418 enum GNUNET_CONTAINER_MultiHashMapOption opt)
422{ 419{
423 struct MapEntry *e; 420 struct MapEntry *e;
@@ -467,10 +464,10 @@ GNUNET_CONTAINER_multihashmap_put (struct GNUNET_CONTAINER_MultiHashMap *map,
467 */ 464 */
468int 465int
469GNUNET_CONTAINER_multihashmap_get_multiple (const struct 466GNUNET_CONTAINER_multihashmap_get_multiple (const struct
470 GNUNET_CONTAINER_MultiHashMap 467 GNUNET_CONTAINER_MultiHashMap *map,
471 *map, const GNUNET_HashCode * key, 468 const GNUNET_HashCode * key,
472 GNUNET_CONTAINER_HashMapIterator 469 GNUNET_CONTAINER_HashMapIterator it,
473 it, void *it_cls) 470 void *it_cls)
474{ 471{
475 int count; 472 int count;
476 struct MapEntry *e; 473 struct MapEntry *e;