aboutsummaryrefslogtreecommitdiff
path: root/src/ats/gnunet-service-ats_scheduling.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ats/gnunet-service-ats_scheduling.h')
-rw-r--r--src/ats/gnunet-service-ats_scheduling.h27
1 files changed, 15 insertions, 12 deletions
diff --git a/src/ats/gnunet-service-ats_scheduling.h b/src/ats/gnunet-service-ats_scheduling.h
index 7eeaba8b3..44ac705e3 100644
--- a/src/ats/gnunet-service-ats_scheduling.h
+++ b/src/ats/gnunet-service-ats_scheduling.h
@@ -34,7 +34,7 @@
34 * Register a new scheduling client. 34 * Register a new scheduling client.
35 * 35 *
36 * @param client handle of the new client 36 * @param client handle of the new client
37 * @return GNUNET_OK on success, GNUNET_SYSERR on error 37 * @return GNUNET_OK on success, GNUNET_SYSERR on error
38 */ 38 */
39int 39int
40GAS_scheduling_add_client (struct GNUNET_SERVER_Client *client); 40GAS_scheduling_add_client (struct GNUNET_SERVER_Client *client);
@@ -65,14 +65,17 @@ GAS_scheduling_remove_client (struct GNUNET_SERVER_Client *client);
65 * @param bandwidth_in assigned inbound bandwidth 65 * @param bandwidth_in assigned inbound bandwidth
66 */ 66 */
67void 67void
68GAS_scheduling_transmit_address_suggestion (const struct GNUNET_PeerIdentity *peer, 68GAS_scheduling_transmit_address_suggestion (const struct GNUNET_PeerIdentity
69 const char *plugin_name, 69 *peer, const char *plugin_name,
70 const void *plugin_addr, size_t plugin_addr_len, 70 const void *plugin_addr,
71 uint32_t session_id, 71 size_t plugin_addr_len,
72 const struct GNUNET_ATS_Information *atsi, 72 uint32_t session_id,
73 uint32_t atsi_count, 73 const struct GNUNET_ATS_Information
74 struct GNUNET_BANDWIDTH_Value32NBO bandwidth_out, 74 *atsi, uint32_t atsi_count,
75 struct GNUNET_BANDWIDTH_Value32NBO bandwidth_in); 75 struct GNUNET_BANDWIDTH_Value32NBO
76 bandwidth_out,
77 struct GNUNET_BANDWIDTH_Value32NBO
78 bandwidth_in);
76 79
77 80
78/** 81/**
@@ -84,7 +87,7 @@ GAS_scheduling_transmit_address_suggestion (const struct GNUNET_PeerIdentity *pe
84 */ 87 */
85void 88void
86GAS_handle_request_address (void *cls, struct GNUNET_SERVER_Client *client, 89GAS_handle_request_address (void *cls, struct GNUNET_SERVER_Client *client,
87 const struct GNUNET_MessageHeader *message); 90 const struct GNUNET_MessageHeader *message);
88 91
89 92
90 93
@@ -97,7 +100,7 @@ GAS_handle_request_address (void *cls, struct GNUNET_SERVER_Client *client,
97 */ 100 */
98void 101void
99GAS_handle_address_update (void *cls, struct GNUNET_SERVER_Client *client, 102GAS_handle_address_update (void *cls, struct GNUNET_SERVER_Client *client,
100 const struct GNUNET_MessageHeader *message); 103 const struct GNUNET_MessageHeader *message);
101 104
102 105
103/** 106/**
@@ -120,7 +123,7 @@ GAS_handle_address_in_use (void *cls, struct GNUNET_SERVER_Client *client,
120 */ 123 */
121void 124void
122GAS_handle_address_destroyed (void *cls, struct GNUNET_SERVER_Client *client, 125GAS_handle_address_destroyed (void *cls, struct GNUNET_SERVER_Client *client,
123 const struct GNUNET_MessageHeader *message); 126 const struct GNUNET_MessageHeader *message);
124 127
125 128
126/** 129/**