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.h19
1 files changed, 1 insertions, 18 deletions
diff --git a/src/include/gnunet_core_service.h b/src/include/gnunet_core_service.h
index f33a78926..4eddda41f 100644
--- a/src/include/gnunet_core_service.h
+++ b/src/include/gnunet_core_service.h
@@ -244,25 +244,19 @@ GNUNET_CORE_disconnect (struct GNUNET_CORE_Handle *handle);
244 * 244 *
245 * @param cls closure 245 * @param cls closure
246 * @param peer identifies the peer 246 * @param peer identifies the peer
247 * @param bandwidth_out available amount of outbound bandwidth
248 * @param amount set to the amount that was actually reserved or unreserved; 247 * @param amount set to the amount that was actually reserved or unreserved;
249 * either the full requested amount or zero (no partial reservations) 248 * either the full requested amount or zero (no partial reservations)
250 * @param res_delay if the reservation could not be satisfied (amount was 0), how 249 * @param res_delay if the reservation could not be satisfied (amount was 0), how
251 * long should the client wait until re-trying? 250 * long should the client wait until re-trying?
252 * @param preference current traffic preference for the given peer
253 */ 251 */
254typedef void (*GNUNET_CORE_PeerConfigurationInfoCallback) (void *cls, 252typedef void (*GNUNET_CORE_PeerConfigurationInfoCallback) (void *cls,
255 const struct 253 const struct
256 GNUNET_PeerIdentity * 254 GNUNET_PeerIdentity *
257 peer, 255 peer,
258 struct
259 GNUNET_BANDWIDTH_Value32NBO
260 bandwidth_out,
261 int32_t amount, 256 int32_t amount,
262 struct 257 struct
263 GNUNET_TIME_Relative 258 GNUNET_TIME_Relative
264 res_delay, 259 res_delay);
265 uint64_t preference);
266 260
267 261
268 262
@@ -278,15 +272,6 @@ struct GNUNET_CORE_InformationRequestContext;
278 * 272 *
279 * @param h core handle 273 * @param h core handle
280 * @param peer identifies the peer 274 * @param peer identifies the peer
281 * @param timeout after how long should we give up (and call "info" with NULL
282 * for "peer" to signal an error)?
283 * @param bw_out set to the current bandwidth limit (sending) for this peer,
284 * caller should set "bpm_out" to "GNUNET_BANDWIDTH_VALUE_MAX" to avoid changing
285 * the current value; otherwise "bw_out" will be lowered to
286 * the specified value; passing a pointer to "0" can be used to force
287 * us to disconnect from the peer; "bw_out" might not increase
288 * as specified since the upper bound is generally
289 * determined by the other peer!
290 * @param amount reserve N bytes for receiving, negative 275 * @param amount reserve N bytes for receiving, negative
291 * amounts can be used to undo a (recent) reservation; 276 * amounts can be used to undo a (recent) reservation;
292 * @param preference increase incoming traffic share preference by this amount; 277 * @param preference increase incoming traffic share preference by this amount;
@@ -300,8 +285,6 @@ struct GNUNET_CORE_InformationRequestContext;
300struct GNUNET_CORE_InformationRequestContext * 285struct GNUNET_CORE_InformationRequestContext *
301GNUNET_CORE_peer_change_preference (struct GNUNET_CORE_Handle *h, 286GNUNET_CORE_peer_change_preference (struct GNUNET_CORE_Handle *h,
302 const struct GNUNET_PeerIdentity *peer, 287 const struct GNUNET_PeerIdentity *peer,
303 struct GNUNET_TIME_Relative timeout,
304 struct GNUNET_BANDWIDTH_Value32NBO bw_out,
305 int32_t amount, uint64_t preference, 288 int32_t amount, uint64_t preference,
306 GNUNET_CORE_PeerConfigurationInfoCallback 289 GNUNET_CORE_PeerConfigurationInfoCallback
307 info, void *info_cls); 290 info, void *info_cls);