aboutsummaryrefslogtreecommitdiff
path: root/src/ats/gnunet-service-ats_performance.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2014-06-16 09:34:22 +0000
committerChristian Grothoff <christian@grothoff.org>2014-06-16 09:34:22 +0000
commitc1d89ed3cf92fa2492a5639e725aadd74742f135 (patch)
tree2c3b364f98947d36151e148eba8978f98b960da4 /src/ats/gnunet-service-ats_performance.h
parentc345e101fd271feb03c311d0ec1837fc6cf179f3 (diff)
downloadgnunet-c1d89ed3cf92fa2492a5639e725aadd74742f135.tar.gz
gnunet-c1d89ed3cf92fa2492a5639e725aadd74742f135.zip
do not use session_id in GAS_performance_notify_all_clients, needs to be 'active'; also indentation/doxygen
Diffstat (limited to 'src/ats/gnunet-service-ats_performance.h')
-rw-r--r--src/ats/gnunet-service-ats_performance.h40
1 files changed, 20 insertions, 20 deletions
diff --git a/src/ats/gnunet-service-ats_performance.h b/src/ats/gnunet-service-ats_performance.h
index 1a96c8819..da4263fe8 100644
--- a/src/ats/gnunet-service-ats_performance.h
+++ b/src/ats/gnunet-service-ats_performance.h
@@ -52,18 +52,19 @@ void
52GAS_performance_remove_client (struct GNUNET_SERVER_Client *client); 52GAS_performance_remove_client (struct GNUNET_SERVER_Client *client);
53 53
54 54
55/**
56 * FIXME.
57 */
55void 58void
56GAS_handle_performance_update (struct GNUNET_PeerIdentity *peer, 59GAS_handle_performance_update (struct GNUNET_PeerIdentity *peer,
57 const char *plugin_name, 60 const char *plugin_name,
58 const void *plugin_addr, 61 const void *plugin_addr,
59 size_t plugin_addr_len, 62 size_t plugin_addr_len,
60 const int active, 63 const int active,
61 struct GNUNET_ATS_Information *ats, 64 struct GNUNET_ATS_Information *ats,
62 uint32_t ats_count, 65 uint32_t ats_count,
63 struct GNUNET_BANDWIDTH_Value32NBO 66 struct GNUNET_BANDWIDTH_Value32NBO bandwidth_out,
64 bandwidth_out, 67 struct GNUNET_BANDWIDTH_Value32NBO bandwidth_in);
65 struct GNUNET_BANDWIDTH_Value32NBO
66 bandwidth_in);
67 68
68 69
69 70
@@ -77,21 +78,20 @@ GAS_handle_performance_update (struct GNUNET_PeerIdentity *peer,
77 * @param plugin_addr_len number of bytes in plugin_addr 78 * @param plugin_addr_len number of bytes in plugin_addr
78 * @param active is this address active 79 * @param active is this address active
79 * @param atsi performance data for the address 80 * @param atsi performance data for the address
80 * @param atsi_count number of performance records in 'ats' 81 * @param atsi_count number of performance records in @a atsi
81 * @param bandwidth_out assigned outbound bandwidth 82 * @param bandwidth_out assigned outbound bandwidth
82 * @param bandwidth_in assigned inbound bandwidth 83 * @param bandwidth_in assigned inbound bandwidth
83 */ 84 */
84void 85void
85GAS_performance_notify_all_clients (const struct GNUNET_PeerIdentity *peer, 86GAS_performance_notify_all_clients (const struct GNUNET_PeerIdentity *peer,
86 const char *plugin_name, 87 const char *plugin_name,
87 const void *plugin_addr, size_t plugin_addr_len, 88 const void *plugin_addr,
88 const int active, 89 size_t plugin_addr_len,
89 const struct GNUNET_ATS_Information *atsi, 90 const int active,
90 uint32_t atsi_count, 91 const struct GNUNET_ATS_Information *atsi,
91 struct GNUNET_BANDWIDTH_Value32NBO 92 uint32_t atsi_count,
92 bandwidth_out, 93 struct GNUNET_BANDWIDTH_Value32NBO bandwidth_out,
93 struct GNUNET_BANDWIDTH_Value32NBO 94 struct GNUNET_BANDWIDTH_Value32NBO bandwidth_in);
94 bandwidth_in);
95 95
96 96
97/** 97/**