diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-01-22 22:13:42 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-01-22 22:13:42 +0000 |
commit | bfc6d94bd600d3048c155dc2a48c2e1faee484d0 (patch) | |
tree | 19697bbf1930693da0195b1d0683e195b1d589b1 /src/ats/ats.h | |
parent | 0d4797b47c3cf73137935f0e7eab9dd1277487b9 (diff) | |
download | gnunet-bfc6d94bd600d3048c155dc2a48c2e1faee484d0.tar.gz gnunet-bfc6d94bd600d3048c155dc2a48c2e1faee484d0.zip |
-improving docs
Diffstat (limited to 'src/ats/ats.h')
-rw-r--r-- | src/ats/ats.h | 39 |
1 files changed, 26 insertions, 13 deletions
diff --git a/src/ats/ats.h b/src/ats/ats.h index 7280891f4..b6750da10 100644 --- a/src/ats/ats.h +++ b/src/ats/ats.h | |||
@@ -267,6 +267,32 @@ struct AddressDestroyedMessage | |||
267 | 267 | ||
268 | 268 | ||
269 | /** | 269 | /** |
270 | * Message sent by ATS service to client to confirm that it is done | ||
271 | * using the given session ID. | ||
272 | */ | ||
273 | struct SessionReleaseMessage | ||
274 | { | ||
275 | /** | ||
276 | * Type is #GNUNET_MESSAGE_TYPE_ATS_SESSION_RELEASE. | ||
277 | */ | ||
278 | struct GNUNET_MessageHeader header; | ||
279 | |||
280 | /** | ||
281 | * Number the client used to identify the session. | ||
282 | */ | ||
283 | uint32_t session_id GNUNET_PACKED; | ||
284 | |||
285 | /** | ||
286 | * Which peer is this about? (Technically redundant, as the | ||
287 | * @e session_id should be sufficient, but may enable client | ||
288 | * to find the session faster). | ||
289 | */ | ||
290 | struct GNUNET_PeerIdentity peer; | ||
291 | }; | ||
292 | |||
293 | |||
294 | |||
295 | /** | ||
270 | * ATS Service suggests to the transport service to use the address | 296 | * ATS Service suggests to the transport service to use the address |
271 | * identified by the given @e session_id for the given @e peer with | 297 | * identified by the given @e session_id for the given @e peer with |
272 | * the given @e bandwidth_in and @e bandwidth_out limits from now on. | 298 | * the given @e bandwidth_in and @e bandwidth_out limits from now on. |
@@ -374,19 +400,6 @@ struct ReservationRequestMessage | |||
374 | }; | 400 | }; |
375 | 401 | ||
376 | 402 | ||
377 | /** | ||
378 | * Message sent by ATS service to client to confirm that it is done | ||
379 | * using the given session ID. | ||
380 | */ | ||
381 | struct SessionReleaseMessage | ||
382 | { | ||
383 | struct GNUNET_MessageHeader header; | ||
384 | |||
385 | uint32_t session_id GNUNET_PACKED; | ||
386 | |||
387 | struct GNUNET_PeerIdentity peer; | ||
388 | }; | ||
389 | |||
390 | 403 | ||
391 | struct ReservationResultMessage | 404 | struct ReservationResultMessage |
392 | { | 405 | { |