aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_core_service.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-03-27 10:32:30 +0000
committerChristian Grothoff <christian@grothoff.org>2011-03-27 10:32:30 +0000
commit817bbb71e3e583ec85d6d63ca3e0cbb90ccd7462 (patch)
tree7e9e8717e9f57b74fca3a0e93f0d4b94234a1dd3 /src/include/gnunet_core_service.h
parent3814b7980a4ed1117be9659a3d10fa49cb4c16e9 (diff)
downloadgnunet-817bbb71e3e583ec85d6d63ca3e0cbb90ccd7462.tar.gz
gnunet-817bbb71e3e583ec85d6d63ca3e0cbb90ccd7462.zip
communicate res delay in capi
Diffstat (limited to 'src/include/gnunet_core_service.h')
-rw-r--r--src/include/gnunet_core_service.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/include/gnunet_core_service.h b/src/include/gnunet_core_service.h
index 755604b88..fd4375355 100644
--- a/src/include/gnunet_core_service.h
+++ b/src/include/gnunet_core_service.h
@@ -77,7 +77,7 @@ typedef void (*GNUNET_CORE_ConnectEventHandler) (void *cls,
77 */ 77 */
78typedef void (*GNUNET_CORE_PeerStatusEventHandler) (void *cls, 78typedef void (*GNUNET_CORE_PeerStatusEventHandler) (void *cls,
79 const struct 79 const struct
80 GNUNET_PeerIdentity * peer, 80 GNUNET_PeerIdentity *peer,
81 struct GNUNET_BANDWIDTH_Value32NBO bandwidth_in, 81 struct GNUNET_BANDWIDTH_Value32NBO bandwidth_in,
82 struct GNUNET_BANDWIDTH_Value32NBO bandwidth_out, 82 struct GNUNET_BANDWIDTH_Value32NBO bandwidth_out,
83 struct GNUNET_TIME_Absolute timeout, 83 struct GNUNET_TIME_Absolute timeout,
@@ -298,14 +298,17 @@ GNUNET_CORE_peer_request_connect_cancel (struct GNUNET_CORE_PeerRequestHandle *r
298 * @param bandwidth_out available amount of outbound bandwidth 298 * @param bandwidth_out available amount of outbound bandwidth
299 * @param amount set to the amount that was actually reserved or unreserved; 299 * @param amount set to the amount that was actually reserved or unreserved;
300 * either the full requested amount or zero (no partial reservations) 300 * either the full requested amount or zero (no partial reservations)
301 * @param res_delay if the reservation could not be satisfied (amount was 0), how
302 * long should the client wait until re-trying?
301 * @param preference current traffic preference for the given peer 303 * @param preference current traffic preference for the given peer
302 */ 304 */
303typedef void 305typedef void
304 (*GNUNET_CORE_PeerConfigurationInfoCallback) (void *cls, 306 (*GNUNET_CORE_PeerConfigurationInfoCallback) (void *cls,
305 const struct 307 const struct
306 GNUNET_PeerIdentity * peer, 308 GNUNET_PeerIdentity *peer,
307 struct GNUNET_BANDWIDTH_Value32NBO bandwidth_out, 309 struct GNUNET_BANDWIDTH_Value32NBO bandwidth_out,
308 int amount, 310 int32_t amount,
311 struct GNUNET_TIME_Relative res_delay,
309 uint64_t preference); 312 uint64_t preference);
310 313
311 314