aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_core_service.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/gnunet_core_service.h')
-rw-r--r--src/include/gnunet_core_service.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/include/gnunet_core_service.h b/src/include/gnunet_core_service.h
index af0a4eaa9..47b8d6f98 100644
--- a/src/include/gnunet_core_service.h
+++ b/src/include/gnunet_core_service.h
@@ -281,8 +281,8 @@ typedef void
281 (*GNUNET_CORE_PeerConfigurationInfoCallback) (void *cls, 281 (*GNUNET_CORE_PeerConfigurationInfoCallback) (void *cls,
282 const struct 282 const struct
283 GNUNET_PeerIdentity * peer, 283 GNUNET_PeerIdentity * peer,
284 unsigned int bpm_in, 284 struct GNUNET_BANDWIDTH_Value32NBO bpm_in,
285 unsigned int bpm_out, 285 struct GNUNET_BANDWIDTH_Value32NBO bpm_out,
286 int amount, 286 int amount,
287 uint64_t preference); 287 uint64_t preference);
288 288
@@ -302,11 +302,11 @@ struct GNUNET_CORE_InformationRequestContext;
302 * @param peer identifies the peer 302 * @param peer identifies the peer
303 * @param timeout after how long should we give up (and call "info" with NULL 303 * @param timeout after how long should we give up (and call "info" with NULL
304 * for "peer" to signal an error)? 304 * for "peer" to signal an error)?
305 * @param bpm_out set to the current bandwidth limit (sending) for this peer, 305 * @param bw_out set to the current bandwidth limit (sending) for this peer,
306 * caller should set "bpm_out" to "-1" to avoid changing 306 * caller should set "bpm_out" to "-1" to avoid changing
307 * the current value; otherwise "bpm_out" will be lowered to 307 * the current value; otherwise "bw_out" will be lowered to
308 * the specified value; passing a pointer to "0" can be used to force 308 * the specified value; passing a pointer to "0" can be used to force
309 * us to disconnect from the peer; "bpm_out" might not increase 309 * us to disconnect from the peer; "bw_out" might not increase
310 * as specified since the upper bound is generally 310 * as specified since the upper bound is generally
311 * determined by the other peer! 311 * determined by the other peer!
312 * @param amount reserve N bytes for receiving, negative 312 * @param amount reserve N bytes for receiving, negative
@@ -324,7 +324,7 @@ GNUNET_CORE_peer_change_preference (struct GNUNET_SCHEDULER_Handle *sched,
324 const struct GNUNET_CONFIGURATION_Handle *cfg, 324 const struct GNUNET_CONFIGURATION_Handle *cfg,
325 const struct GNUNET_PeerIdentity *peer, 325 const struct GNUNET_PeerIdentity *peer,
326 struct GNUNET_TIME_Relative timeout, 326 struct GNUNET_TIME_Relative timeout,
327 uint32_t bpm_out, 327 struct GNUNET_BANDWIDTH_Value32NBO bw_out,
328 int32_t amount, 328 int32_t amount,
329 uint64_t preference, 329 uint64_t preference,
330 GNUNET_CORE_PeerConfigurationInfoCallback info, 330 GNUNET_CORE_PeerConfigurationInfoCallback info,