gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r24551 - gnunet/src/ats


From: gnunet
Subject: [GNUnet-SVN] r24551 - gnunet/src/ats
Date: Thu, 25 Oct 2012 17:04:50 +0200

Author: wachs
Date: 2012-10-25 17:04:50 +0200 (Thu, 25 Oct 2012)
New Revision: 24551

Modified:
   gnunet/src/ats/gnunet-service-ats_addresses.c
   gnunet/src/ats/gnunet-service-ats_performance.c
Log:
doxygen

Modified: gnunet/src/ats/gnunet-service-ats_addresses.c
===================================================================
--- gnunet/src/ats/gnunet-service-ats_addresses.c       2012-10-25 15:02:29 UTC 
(rev 24550)
+++ gnunet/src/ats/gnunet-service-ats_addresses.c       2012-10-25 15:04:50 UTC 
(rev 24551)
@@ -1085,7 +1085,7 @@
  * @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;
@@ -1133,8 +1133,9 @@
 /**
  * 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)

Modified: gnunet/src/ats/gnunet-service-ats_performance.c
===================================================================
--- gnunet/src/ats/gnunet-service-ats_performance.c     2012-10-25 15:02:29 UTC 
(rev 24550)
+++ gnunet/src/ats/gnunet-service-ats_performance.c     2012-10-25 15:04:50 UTC 
(rev 24551)
@@ -214,6 +214,7 @@
                             GNUNET_NO);
 }
 
+
 static void
 peerinfo_it (void *cls,
              const struct GNUNET_PeerIdentity *id,
@@ -240,10 +241,18 @@
 
 }
 
+
+/**
+ * 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));




reply via email to

[Prev in Thread] Current Thread [Next in Thread]