diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-10-17 08:13:49 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-10-17 08:13:49 +0000 |
commit | c0d32e08cddf59b933cecd744c6cd582ec566694 (patch) | |
tree | 3f1c239c318c4eb06b40c6cd0889d1803c0d9616 /src/ats/gnunet-service-ats_scheduling.h | |
parent | a2d9b4434076254811584a4a0ffa8881d0903db8 (diff) | |
download | gnunet-c0d32e08cddf59b933cecd744c6cd582ec566694.tar.gz gnunet-c0d32e08cddf59b933cecd744c6cd582ec566694.zip |
restrict to 1 scheduling client
Diffstat (limited to 'src/ats/gnunet-service-ats_scheduling.h')
-rw-r--r-- | src/ats/gnunet-service-ats_scheduling.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/ats/gnunet-service-ats_scheduling.h b/src/ats/gnunet-service-ats_scheduling.h index 15eed7f85..9e188fe8f 100644 --- a/src/ats/gnunet-service-ats_scheduling.h +++ b/src/ats/gnunet-service-ats_scheduling.h | |||
@@ -34,8 +34,9 @@ | |||
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 | */ | 38 | */ |
38 | void | 39 | int |
39 | GAS_scheduling_add_client (struct GNUNET_SERVER_Client *client); | 40 | GAS_scheduling_add_client (struct GNUNET_SERVER_Client *client); |
40 | 41 | ||
41 | 42 | ||
@@ -57,8 +58,7 @@ GAS_scheduling_remove_client (struct GNUNET_SERVER_Client *client); | |||
57 | * @param plugin_name 0-termintated string specifying the transport plugin | 58 | * @param plugin_name 0-termintated string specifying the transport plugin |
58 | * @param plugin_addr binary address for the plugin to use | 59 | * @param plugin_addr binary address for the plugin to use |
59 | * @param plugin_addr_len number of bytes in plugin_addr | 60 | * @param plugin_addr_len number of bytes in plugin_addr |
60 | * @param session_client which client gave us this session_id? | 61 | * @param session_id session ID to use |
61 | * @param session_id session ID to use for the given client (other clients will see 0) | ||
62 | * @param atsi performance data for the address | 62 | * @param atsi performance data for the address |
63 | * @param atsi_count number of performance records in 'ats' | 63 | * @param atsi_count number of performance records in 'ats' |
64 | * @param bandwidth_out assigned outbound bandwidth | 64 | * @param bandwidth_out assigned outbound bandwidth |
@@ -68,7 +68,6 @@ void | |||
68 | GAS_scheduling_transmit_address_suggestion (const struct GNUNET_PeerIdentity *peer, | 68 | GAS_scheduling_transmit_address_suggestion (const struct GNUNET_PeerIdentity *peer, |
69 | const char *plugin_name, | 69 | const char *plugin_name, |
70 | const void *plugin_addr, size_t plugin_addr_len, | 70 | const void *plugin_addr, size_t plugin_addr_len, |
71 | struct GNUNET_SERVER_Client *session_client, | ||
72 | uint32_t session_id, | 71 | uint32_t session_id, |
73 | const struct GNUNET_ATS_Information *atsi, | 72 | const struct GNUNET_ATS_Information *atsi, |
74 | uint32_t atsi_count, | 73 | uint32_t atsi_count, |