aboutsummaryrefslogtreecommitdiff
path: root/src/ats/gnunet-service-ats_addresses.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ats/gnunet-service-ats_addresses.c')
-rw-r--r--src/ats/gnunet-service-ats_addresses.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/ats/gnunet-service-ats_addresses.c b/src/ats/gnunet-service-ats_addresses.c
index 9bf5ca678..97475ad19 100644
--- a/src/ats/gnunet-service-ats_addresses.c
+++ b/src/ats/gnunet-service-ats_addresses.c
@@ -98,7 +98,7 @@ send_bw_notification (struct ATS_Address *aa)
98 * @return GNUNET_OK (continue to iterate) 98 * @return GNUNET_OK (continue to iterate)
99 */ 99 */
100static int 100static int
101update_bw_simple_it (void *cls, const GNUNET_HashCode * key, void *value) 101update_bw_simple_it (void *cls, const struct GNUNET_HashCode * key, void *value)
102{ 102{
103 struct ATS_Address *aa = value; 103 struct ATS_Address *aa = value;
104 104
@@ -219,7 +219,7 @@ struct CompareAddressContext
219 219
220 220
221static int 221static int
222compare_address_it (void *cls, const GNUNET_HashCode * key, void *value) 222compare_address_it (void *cls, const struct GNUNET_HashCode * key, void *value)
223{ 223{
224 struct CompareAddressContext *cac = cls; 224 struct CompareAddressContext *cac = cls;
225 struct ATS_Address *aa = value; 225 struct ATS_Address *aa = value;
@@ -289,7 +289,7 @@ find_address (const struct GNUNET_PeerIdentity *peer,
289 289
290 290
291static int 291static int
292compare_address_session_it (void *cls, const GNUNET_HashCode * key, void *value) 292compare_address_session_it (void *cls, const struct GNUNET_HashCode * key, void *value)
293{ 293{
294 struct CompareAddressContext *cac = cls; 294 struct CompareAddressContext *cac = cls;
295 struct ATS_Address *aa = value; 295 struct ATS_Address *aa = value;
@@ -444,7 +444,7 @@ GAS_addresses_update (const struct GNUNET_PeerIdentity *peer,
444 * @return GNUNET_OK (continue to iterate) 444 * @return GNUNET_OK (continue to iterate)
445 */ 445 */
446static int 446static int
447destroy_by_session_id (void *cls, const GNUNET_HashCode * key, void *value) 447destroy_by_session_id (void *cls, const struct GNUNET_HashCode * key, void *value)
448{ 448{
449 const struct ATS_Address *info = cls; 449 const struct ATS_Address *info = cls;
450 struct ATS_Address *aa = value; 450 struct ATS_Address *aa = value;
@@ -539,7 +539,7 @@ GAS_addresses_destroy (const struct GNUNET_PeerIdentity *peer,
539 * @return GNUNET_OK (continue to iterate) 539 * @return GNUNET_OK (continue to iterate)
540 */ 540 */
541static int 541static int
542find_address_it (void *cls, const GNUNET_HashCode * key, void *value) 542find_address_it (void *cls, const struct GNUNET_HashCode * key, void *value)
543{ 543{
544 struct ATS_Address **ap = cls; 544 struct ATS_Address **ap = cls;
545 struct ATS_Address *aa = (struct ATS_Address *) value; 545 struct ATS_Address *aa = (struct ATS_Address *) value;
@@ -761,7 +761,7 @@ GAS_addresses_request_address (const struct GNUNET_PeerIdentity *peer)
761 761
762 762
763static int 763static int
764reset_address_it (void *cls, const GNUNET_HashCode * key, void *value) 764reset_address_it (void *cls, const struct GNUNET_HashCode * key, void *value)
765{ 765{
766 struct ATS_Address *aa = value; 766 struct ATS_Address *aa = value;
767 767
@@ -903,7 +903,7 @@ GAS_addresses_init (const struct GNUNET_CONFIGURATION_Handle *cfg,
903 * @return GNUNET_OK (continue to iterate) 903 * @return GNUNET_OK (continue to iterate)
904 */ 904 */
905static int 905static int
906free_address_it (void *cls, const GNUNET_HashCode * key, void *value) 906free_address_it (void *cls, const struct GNUNET_HashCode * key, void *value)
907{ 907{
908 struct ATS_Address *aa = value; 908 struct ATS_Address *aa = value;
909 909