* @param p_it_cls the closure for the iterator
*/
void
-GAS_addresses_iterate_peers (GNUNET_ATS_Peer_Iterator it, void *it_cls)
+GAS_addresses_iterate_peers (GNUNET_ATS_Peer_Iterator p_it, void *p_it_cls)
{
struct PeerIteratorContext ip_ctx;
unsigned int size;
/**
* Return all peers currently known to ATS
*
- * @param p_it the iterator to call for every peer
- * @param p_it_cls the closure for the iterator
+ * @param peer the respective peer
+ * @param pi_it the iterator to call for every peer
+ * @param pi_it_cls the closure for the iterator
*/
void
GAS_addresses_get_peer_info (const struct GNUNET_PeerIdentity *peer, GNUNET_ATS_PeerInfo_Iterator pi_it, void *pi_it_cls)
GNUNET_NO);
}
+
static void
peerinfo_it (void *cls,
const struct GNUNET_PeerIdentity *id,
}
+
+/**
+ * Iterator for GAS_performance_add_client
+ *
+ * @param cls the client requesting information
+ * @param id result
+ */
static void
peer_it (void *cls,
const struct GNUNET_PeerIdentity *id)
{
+ struct PerformanceClient *pc = cls;
if (NULL != id)
{
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Callback for peer `%s'\n", GNUNET_i2s (id));