aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_container_lib.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-01-17 16:54:38 +0100
committerChristian Grothoff <christian@grothoff.org>2017-01-17 16:54:38 +0100
commit100e16ba31dac7138413bda3389d30b3575a8b8e (patch)
tree620d38424df719e98dcfd834dca3465705a1c385 /src/include/gnunet_container_lib.h
parent5d52f126f510a223d371459f17d5aaa46e9dfe49 (diff)
downloadgnunet-100e16ba31dac7138413bda3389d30b3575a8b8e.tar.gz
gnunet-100e16ba31dac7138413bda3389d30b3575a8b8e.zip
make shortmap actually over shorts
Diffstat (limited to 'src/include/gnunet_container_lib.h')
-rw-r--r--src/include/gnunet_container_lib.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/include/gnunet_container_lib.h b/src/include/gnunet_container_lib.h
index c99b911a1..f3aaa943b 100644
--- a/src/include/gnunet_container_lib.h
+++ b/src/include/gnunet_container_lib.h
@@ -1300,7 +1300,7 @@ GNUNET_CONTAINER_multipeermap_get_random (const struct GNUNET_CONTAINER_MultiPee
1300 */ 1300 */
1301typedef int 1301typedef int
1302(*GNUNET_CONTAINER_ShortmapIterator) (void *cls, 1302(*GNUNET_CONTAINER_ShortmapIterator) (void *cls,
1303 const struct GNUNET_PeerIdentity *key, 1303 const struct GNUNET_ShortHashCode *key,
1304 void *value); 1304 void *value);
1305 1305
1306 1306
@@ -1355,7 +1355,7 @@ GNUNET_CONTAINER_multishortmap_destroy (struct GNUNET_CONTAINER_MultiShortmap *m
1355 */ 1355 */
1356void * 1356void *
1357GNUNET_CONTAINER_multishortmap_get (const struct GNUNET_CONTAINER_MultiShortmap *map, 1357GNUNET_CONTAINER_multishortmap_get (const struct GNUNET_CONTAINER_MultiShortmap *map,
1358 const struct GNUNET_PeerIdentity *key); 1358 const struct GNUNET_ShortHashCode *key);
1359 1359
1360 1360
1361/** 1361/**
@@ -1372,7 +1372,7 @@ GNUNET_CONTAINER_multishortmap_get (const struct GNUNET_CONTAINER_MultiShortmap
1372 */ 1372 */
1373int 1373int
1374GNUNET_CONTAINER_multishortmap_remove (struct GNUNET_CONTAINER_MultiShortmap *map, 1374GNUNET_CONTAINER_multishortmap_remove (struct GNUNET_CONTAINER_MultiShortmap *map,
1375 const struct GNUNET_PeerIdentity * key, 1375 const struct GNUNET_ShortHashCode * key,
1376 const void *value); 1376 const void *value);
1377 1377
1378/** 1378/**
@@ -1386,7 +1386,7 @@ GNUNET_CONTAINER_multishortmap_remove (struct GNUNET_CONTAINER_MultiShortmap *ma
1386 */ 1386 */
1387int 1387int
1388GNUNET_CONTAINER_multishortmap_remove_all (struct GNUNET_CONTAINER_MultiShortmap *map, 1388GNUNET_CONTAINER_multishortmap_remove_all (struct GNUNET_CONTAINER_MultiShortmap *map,
1389 const struct GNUNET_PeerIdentity *key); 1389 const struct GNUNET_ShortHashCode *key);
1390 1390
1391 1391
1392/** 1392/**
@@ -1401,7 +1401,7 @@ GNUNET_CONTAINER_multishortmap_remove_all (struct GNUNET_CONTAINER_MultiShortmap
1401 */ 1401 */
1402int 1402int
1403GNUNET_CONTAINER_multishortmap_contains (const struct GNUNET_CONTAINER_MultiShortmap *map, 1403GNUNET_CONTAINER_multishortmap_contains (const struct GNUNET_CONTAINER_MultiShortmap *map,
1404 const struct GNUNET_PeerIdentity *key); 1404 const struct GNUNET_ShortHashCode *key);
1405 1405
1406 1406
1407/** 1407/**
@@ -1417,7 +1417,7 @@ GNUNET_CONTAINER_multishortmap_contains (const struct GNUNET_CONTAINER_MultiShor
1417 */ 1417 */
1418int 1418int
1419GNUNET_CONTAINER_multishortmap_contains_value (const struct GNUNET_CONTAINER_MultiShortmap *map, 1419GNUNET_CONTAINER_multishortmap_contains_value (const struct GNUNET_CONTAINER_MultiShortmap *map,
1420 const struct GNUNET_PeerIdentity * key, 1420 const struct GNUNET_ShortHashCode * key,
1421 const void *value); 1421 const void *value);
1422 1422
1423 1423
@@ -1436,7 +1436,7 @@ GNUNET_CONTAINER_multishortmap_contains_value (const struct GNUNET_CONTAINER_Mul
1436 */ 1436 */
1437int 1437int
1438GNUNET_CONTAINER_multishortmap_put (struct GNUNET_CONTAINER_MultiShortmap *map, 1438GNUNET_CONTAINER_multishortmap_put (struct GNUNET_CONTAINER_MultiShortmap *map,
1439 const struct GNUNET_PeerIdentity *key, 1439 const struct GNUNET_ShortHashCode *key,
1440 void *value, 1440 void *value,
1441 enum GNUNET_CONTAINER_MultiHashMapOption opt); 1441 enum GNUNET_CONTAINER_MultiHashMapOption opt);
1442 1442
@@ -1505,7 +1505,7 @@ GNUNET_CONTAINER_multishortmap_iterator_create (const struct GNUNET_CONTAINER_Mu
1505 */ 1505 */
1506int 1506int
1507GNUNET_CONTAINER_multishortmap_iterator_next (struct GNUNET_CONTAINER_MultiShortmapIterator *iter, 1507GNUNET_CONTAINER_multishortmap_iterator_next (struct GNUNET_CONTAINER_MultiShortmapIterator *iter,
1508 struct GNUNET_PeerIdentity *key, 1508 struct GNUNET_ShortHashCode *key,
1509 const void **value); 1509 const void **value);
1510 1510
1511 1511
@@ -1532,7 +1532,7 @@ GNUNET_CONTAINER_multishortmap_iterator_destroy (struct GNUNET_CONTAINER_MultiSh
1532 */ 1532 */
1533int 1533int
1534GNUNET_CONTAINER_multishortmap_get_multiple (const struct GNUNET_CONTAINER_MultiShortmap *map, 1534GNUNET_CONTAINER_multishortmap_get_multiple (const struct GNUNET_CONTAINER_MultiShortmap *map,
1535 const struct GNUNET_PeerIdentity *key, 1535 const struct GNUNET_ShortHashCode *key,
1536 GNUNET_CONTAINER_ShortmapIterator it, 1536 GNUNET_CONTAINER_ShortmapIterator it,
1537 void *it_cls); 1537 void *it_cls);
1538 1538