aboutsummaryrefslogtreecommitdiff
path: root/src/ats/ats_api_performance.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ats/ats_api_performance.c')
-rw-r--r--src/ats/ats_api_performance.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/ats/ats_api_performance.c b/src/ats/ats_api_performance.c
index 0b0bd1042..e23c9bdf3 100644
--- a/src/ats/ats_api_performance.c
+++ b/src/ats/ats_api_performance.c
@@ -56,10 +56,10 @@ GNUNET_ATS_performance_init (const struct GNUNET_CONFIGURATION_Handle *cfg,
56/** 56/**
57 * Client is done using the ATS performance subsystem, release resources. 57 * Client is done using the ATS performance subsystem, release resources.
58 * 58 *
59 * @param atc handle 59 * @param ph handle
60 */ 60 */
61void 61void
62GNUNET_ATS_performance_done (struct GNUNET_ATS_SchedulingHandle *atc) 62GNUNET_ATS_performance_done (struct GNUNET_ATS_SchedulingHandle *ph)
63{ 63{
64} 64}
65 65
@@ -77,7 +77,7 @@ struct GNUNET_ATS_ReservationContext
77 * the current amount of traffic we receive from the peer and ensure 77 * the current amount of traffic we receive from the peer and ensure
78 * that the peer could add 'amount' of data to its stream. 78 * that the peer could add 'amount' of data to its stream.
79 * 79 *
80 * @param h core handle 80 * @param ph performance handle
81 * @param peer identifies the peer 81 * @param peer identifies the peer
82 * @param amount reserve N bytes for receiving, negative 82 * @param amount reserve N bytes for receiving, negative
83 * amounts can be used to undo a (recent) reservation; 83 * amounts can be used to undo a (recent) reservation;
@@ -87,7 +87,7 @@ struct GNUNET_ATS_ReservationContext
87 * @deprecated will be replaced soon 87 * @deprecated will be replaced soon
88 */ 88 */
89struct GNUNET_ATS_ReservationContext * 89struct GNUNET_ATS_ReservationContext *
90GNUNET_ATS_reserve_bandwidth (struct GNUNET_ATS_PerformanceHandle *h, 90GNUNET_ATS_reserve_bandwidth (struct GNUNET_ATS_PerformanceHandle *ph,
91 const struct GNUNET_PeerIdentity *peer, 91 const struct GNUNET_PeerIdentity *peer,
92 int32_t amount, 92 int32_t amount,
93 GNUNET_ATS_ReservationCallback info, 93 GNUNET_ATS_ReservationCallback info,
@@ -113,12 +113,12 @@ GNUNET_ATS_reserve_bandwidth_cancel (struct
113 * Change preferences for the given peer. Preference changes are forgotten if peers 113 * Change preferences for the given peer. Preference changes are forgotten if peers
114 * disconnect. 114 * disconnect.
115 * 115 *
116 * @param cls closure 116 * @param ph performance handle
117 * @param peer identifies the peer 117 * @param peer identifies the peer
118 * @param ... 0-terminated specification of the desired changes 118 * @param ... 0-terminated specification of the desired changes
119 */ 119 */
120void 120void
121GNUNET_ATS_change_preference (struct GNUNET_ATS_PerformanceHandle *h, 121GNUNET_ATS_change_preference (struct GNUNET_ATS_PerformanceHandle *ph,
122 const struct GNUNET_PeerIdentity *peer, 122 const struct GNUNET_PeerIdentity *peer,
123 ...) 123 ...)
124{ 124{