diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2013-07-10 08:53:22 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2013-07-10 08:53:22 +0000 |
commit | 11fd564b2998cca1e02eb403794ec47fe5859a12 (patch) | |
tree | 82c54f644631ed3c933c09b275a83e6fe4149b3e /src/transport/gnunet-service-transport.h | |
parent | ecf423bfc3a95ff966776559a3fd97da6cbd91b8 (diff) | |
download | gnunet-11fd564b2998cca1e02eb403794ec47fe5859a12.tar.gz gnunet-11fd564b2998cca1e02eb403794ec47fe5859a12.zip |
move add function directly to transport
Diffstat (limited to 'src/transport/gnunet-service-transport.h')
-rw-r--r-- | src/transport/gnunet-service-transport.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/transport/gnunet-service-transport.h b/src/transport/gnunet-service-transport.h index 5e3a25031..c53e471f3 100644 --- a/src/transport/gnunet-service-transport.h +++ b/src/transport/gnunet-service-transport.h | |||
@@ -97,6 +97,26 @@ GST_receive_callback (void *cls, | |||
97 | uint16_t sender_address_len); | 97 | uint16_t sender_address_len); |
98 | 98 | ||
99 | 99 | ||
100 | /** | ||
101 | * Notify ATS about the new address including the network this address is | ||
102 | * located in. | ||
103 | * | ||
104 | * @param address the address | ||
105 | * @param session the session | ||
106 | */ | ||
107 | void | ||
108 | GST_ats_add_address (struct GNUNET_HELLO_Address *address, void *session); | ||
109 | |||
110 | /** | ||
111 | * Notify ATS about property changes to an address | ||
112 | * | ||
113 | * @param peer the peer | ||
114 | * @param address the address | ||
115 | * @param session the session | ||
116 | * @param ats performance information | ||
117 | * @param ats_count number of elements in ats | ||
118 | */ | ||
119 | |||
100 | void | 120 | void |
101 | GST_update_ats_metrics (const struct GNUNET_PeerIdentity *peer, | 121 | GST_update_ats_metrics (const struct GNUNET_PeerIdentity *peer, |
102 | const struct GNUNET_HELLO_Address *address, | 122 | const struct GNUNET_HELLO_Address *address, |