aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2013-01-14 12:02:40 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2013-01-14 12:02:40 +0000
commit712fc3898a29fc0c83d7aa4390e2e91a6e2ea8a5 (patch)
tree0dd10f3ef541fcec6f63680fe10f1a03dbd7e52e
parent63fea7a7ae71c9a8d549711553532955e4200cc5 (diff)
downloadgnunet-712fc3898a29fc0c83d7aa4390e2e91a6e2ea8a5.tar.gz
gnunet-712fc3898a29fc0c83d7aa4390e2e91a6e2ea8a5.zip
handle
-rw-r--r--src/include/gnunet_ats_service.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/include/gnunet_ats_service.h b/src/include/gnunet_ats_service.h
index 0e4fb292d..6578633e3 100644
--- a/src/include/gnunet_ats_service.h
+++ b/src/include/gnunet_ats_service.h
@@ -494,6 +494,13 @@ GNUNET_NETWORK_STRUCT_END
494 */ 494 */
495struct GNUNET_ATS_SchedulingHandle; 495struct GNUNET_ATS_SchedulingHandle;
496 496
497/**
498 * Handle for address suggestion requests
499 *
500 */
501struct GNUNET_ATS_SuggestHandle;
502
503
497 504
498/** 505/**
499 * Opaque session handle, defined by plugins. Contents not known to ATS. 506 * Opaque session handle, defined by plugins. Contents not known to ATS.
@@ -501,6 +508,7 @@ struct GNUNET_ATS_SchedulingHandle;
501struct Session; 508struct Session;
502 509
503 510
511
504/** 512/**
505 * Signature of a function called by ATS with the current bandwidth 513 * Signature of a function called by ATS with the current bandwidth
506 * and address preferences as determined by ATS. 514 * and address preferences as determined by ATS.
@@ -569,8 +577,9 @@ GNUNET_ATS_reset_backoff (struct GNUNET_ATS_SchedulingHandle *sh,
569 * 577 *
570 * @param sh handle 578 * @param sh handle
571 * @param peer identity of the peer we need an address for 579 * @param peer identity of the peer we need an address for
580 * @return suggestion handle
572 */ 581 */
573void 582struct GNUNET_ATS_SuggestHandle *
574GNUNET_ATS_suggest_address (struct GNUNET_ATS_SchedulingHandle *sh, 583GNUNET_ATS_suggest_address (struct GNUNET_ATS_SchedulingHandle *sh,
575 const struct GNUNET_PeerIdentity *peer); 584 const struct GNUNET_PeerIdentity *peer);
576 585