aboutsummaryrefslogtreecommitdiff
path: root/src/ats/gnunet-service-ats_performance.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ats/gnunet-service-ats_performance.c')
-rw-r--r--src/ats/gnunet-service-ats_performance.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/ats/gnunet-service-ats_performance.c b/src/ats/gnunet-service-ats_performance.c
index 932e7184b..ba1ee2633 100644
--- a/src/ats/gnunet-service-ats_performance.c
+++ b/src/ats/gnunet-service-ats_performance.c
@@ -214,6 +214,7 @@ GAS_performance_notify_all_clients (const struct GNUNET_PeerIdentity *peer,
214 GNUNET_NO); 214 GNUNET_NO);
215} 215}
216 216
217
217static void 218static void
218peerinfo_it (void *cls, 219peerinfo_it (void *cls,
219 const struct GNUNET_PeerIdentity *id, 220 const struct GNUNET_PeerIdentity *id,
@@ -240,10 +241,18 @@ peerinfo_it (void *cls,
240 241
241} 242}
242 243
244
245/**
246 * Iterator for GAS_performance_add_client
247 *
248 * @param cls the client requesting information
249 * @param id result
250 */
243static void 251static void
244peer_it (void *cls, 252peer_it (void *cls,
245 const struct GNUNET_PeerIdentity *id) 253 const struct GNUNET_PeerIdentity *id)
246{ 254{
255 struct PerformanceClient *pc = cls;
247 if (NULL != id) 256 if (NULL != id)
248 { 257 {
249 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Callback for peer `%s'\n", GNUNET_i2s (id)); 258 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Callback for peer `%s'\n", GNUNET_i2s (id));