diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-02-03 13:20:17 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-02-03 13:20:17 +0000 |
commit | 2aeb9884df190077944584342157afd5d32d6c8a (patch) | |
tree | b9f1fa15b0741be6b5af46c8f50945c1e3f0a82d /src/transport/gnunet-service-transport_neighbours.h | |
parent | 8116248c35c6a085c5f3143b30ac11dc4ae53d50 (diff) | |
download | gnunet-2aeb9884df190077944584342157afd5d32d6c8a.tar.gz gnunet-2aeb9884df190077944584342157afd5d32d6c8a.zip |
document API, do not pass unused 'session' argument
Diffstat (limited to 'src/transport/gnunet-service-transport_neighbours.h')
-rw-r--r-- | src/transport/gnunet-service-transport_neighbours.h | 42 |
1 files changed, 31 insertions, 11 deletions
diff --git a/src/transport/gnunet-service-transport_neighbours.h b/src/transport/gnunet-service-transport_neighbours.h index 710439b10..ee3a34a79 100644 --- a/src/transport/gnunet-service-transport_neighbours.h +++ b/src/transport/gnunet-service-transport_neighbours.h | |||
@@ -209,38 +209,58 @@ GST_neighbours_session_terminated (const struct GNUNET_PeerIdentity *peer, | |||
209 | 209 | ||
210 | 210 | ||
211 | /** | 211 | /** |
212 | * FIXME | 212 | * Track information about data we received from the |
213 | * given address (used to notify ATS about our utilization | ||
214 | * of allocated resources). | ||
215 | * | ||
216 | * @param address the address we got data from | ||
217 | * @param message the message we received (really only the size is used) | ||
213 | */ | 218 | */ |
214 | void | 219 | void |
215 | GST_neighbours_notify_data_recv (const struct GNUNET_HELLO_Address *address, | 220 | GST_neighbours_notify_data_recv (const struct GNUNET_HELLO_Address *address, |
216 | struct Session *session, | ||
217 | const struct GNUNET_MessageHeader *message); | 221 | const struct GNUNET_MessageHeader *message); |
218 | 222 | ||
219 | 223 | ||
220 | /** | 224 | /** |
221 | * FIXME | 225 | * Track information about payload (useful data) we received from the |
226 | * given address (used to notify ATS about our utilization of | ||
227 | * allocated resources). | ||
228 | * | ||
229 | * @param address the address we got data from | ||
230 | * @param message the message we received (really only the size is used) | ||
222 | */ | 231 | */ |
223 | void | 232 | void |
224 | GST_neighbours_notify_payload_recv (const struct GNUNET_HELLO_Address *address, | 233 | GST_neighbours_notify_payload_recv (const struct GNUNET_HELLO_Address *address, |
225 | struct Session *session, | ||
226 | const struct GNUNET_MessageHeader *message); | 234 | const struct GNUNET_MessageHeader *message); |
227 | 235 | ||
228 | 236 | ||
229 | /** | 237 | /** |
230 | * FIXME | 238 | * Track information about data we transmitted using the given @a |
239 | * address and @a session (used to notify ATS about our utilization of | ||
240 | * allocated resources). | ||
241 | * | ||
242 | * @param address the address we transmitted data to | ||
243 | * @param session session we used to transmit data | ||
244 | * @param message the message we sent (really only the size is used) | ||
231 | */ | 245 | */ |
232 | void | 246 | void |
233 | GST_neighbours_notify_payload_sent (const struct GNUNET_PeerIdentity *peer, | 247 | GST_neighbours_notify_data_sent (const struct GNUNET_HELLO_Address *address, |
234 | size_t size); | 248 | struct Session *session, |
249 | size_t size); | ||
235 | 250 | ||
236 | 251 | ||
237 | /** | 252 | /** |
238 | * FIXME | 253 | * Track information about payload (useful data) we transmitted using the |
254 | * given address (used to notify ATS about our utilization of | ||
255 | * allocated resources). | ||
256 | * | ||
257 | * @param address the address we transmitted data to | ||
258 | * @param message the message we sent (really only the size is used) | ||
239 | */ | 259 | */ |
240 | void | 260 | void |
241 | GST_neighbours_notify_data_sent (const struct GNUNET_HELLO_Address *address, | 261 | GST_neighbours_notify_payload_sent (const struct GNUNET_PeerIdentity *peer, |
242 | struct Session *session, | 262 | size_t size); |
243 | size_t size); | 263 | |
244 | 264 | ||
245 | 265 | ||
246 | /** | 266 | /** |