gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r26591 - in gnunet/src: ats core include testbed transport


From: gnunet
Subject: [GNUnet-SVN] r26591 - in gnunet/src: ats core include testbed transport
Date: Mon, 25 Mar 2013 10:41:29 +0100

Author: wachs
Date: 2013-03-25 10:41:29 +0100 (Mon, 25 Mar 2013)
New Revision: 26591

Modified:
   gnunet/src/ats/ats_api_performance.c
   gnunet/src/core/gnunet-service-core_neighbours.c
   gnunet/src/include/gnunet_ats_service.h
   gnunet/src/include/gnunet_transport_plugin.h
   gnunet/src/testbed/gnunet-service-testbed_cache.c
   gnunet/src/transport/gnunet-service-transport.c
   gnunet/src/transport/gnunet-service-transport.h
   gnunet/src/transport/gnunet-service-transport_manipulation.c
Log:
doxygen


Modified: gnunet/src/ats/ats_api_performance.c
===================================================================
--- gnunet/src/ats/ats_api_performance.c        2013-03-25 09:40:44 UTC (rev 
26590)
+++ gnunet/src/ats/ats_api_performance.c        2013-03-25 09:41:29 UTC (rev 
26591)
@@ -784,10 +784,7 @@
 /**
  * Stop monitoring performance information
  *
- * @param ph performance handle to use
- * @param monitor_cb function to call on performance changes
- * @param monitor_cb_cls closure for infocb
- * @return a performance monitor handle
+ * @param phm performance monitor handle to use
  */
 void
 GNUNET_ATS_performance_monitor_stop (struct 
GNUNET_ATS_PerformanceMonitorHandle * phm)

Modified: gnunet/src/core/gnunet-service-core_neighbours.c
===================================================================
--- gnunet/src/core/gnunet-service-core_neighbours.c    2013-03-25 09:40:44 UTC 
(rev 26590)
+++ gnunet/src/core/gnunet-service-core_neighbours.c    2013-03-25 09:41:29 UTC 
(rev 26591)
@@ -297,8 +297,6 @@
  *
  * @param cls closure
  * @param peer the peer that connected
- * @param atsi performance data
- * @param atsi_count number of entries in ats (excluding 0-termination)
  */
 static void
 handle_transport_notify_connect (void *cls,
@@ -366,8 +364,6 @@
  * @param cls closure
  * @param peer (claimed) identity of the other peer
  * @param message the message
- * @param atsi performance data
- * @param atsi_count number of entries in ats (excluding 0-termination)
  */
 static void
 handle_transport_receive (void *cls, const struct GNUNET_PeerIdentity *peer,

Modified: gnunet/src/include/gnunet_ats_service.h
===================================================================
--- gnunet/src/include/gnunet_ats_service.h     2013-03-25 09:40:44 UTC (rev 
26590)
+++ gnunet/src/include/gnunet_ats_service.h     2013-03-25 09:41:29 UTC (rev 
26591)
@@ -773,10 +773,7 @@
 /**
  * Stop monitoring performance information
  *
- * @param ph performance handle to use
- * @param monitor_cb function to call on performance changes
- * @param monitor_cb_cls closure for infocb
- * @return a performance monitor handle
+ * @param phm performance monitoring handle to use
  */
 void
 GNUNET_ATS_performance_monitor_stop (struct 
GNUNET_ATS_PerformanceMonitorHandle * phm);

Modified: gnunet/src/include/gnunet_transport_plugin.h
===================================================================
--- gnunet/src/include/gnunet_transport_plugin.h        2013-03-25 09:40:44 UTC 
(rev 26590)
+++ gnunet/src/include/gnunet_transport_plugin.h        2013-03-25 09:41:29 UTC 
(rev 26591)
@@ -135,12 +135,12 @@
  */
 typedef void
 (*GNUNET_TRANSPORT_UpdateAddressMetrics) (void *cls,
-                                                                               
                                                                                
        const struct GNUNET_PeerIdentity *peer,
-                                                                               
                                                                        const 
char *address,
-                                                                               
                                                                        
uint16_t address_len,
-                                                                               
                                                                        struct 
Session *session,
-                                                                               
                                                                        struct 
GNUNET_ATS_Information *ats,
-                                                                               
                                                                        
uint32_t ats_count);
+                                                                               
                                                                                
 struct GNUNET_PeerIdentity *peer,
+                                                                               
                                                                                
 const void *address,
+                                                                               
                                                                                
 uint16_t address_len,
+                                                                               
                                                                                
 struct Session *session,
+                                                                               
                                                                                
 struct GNUNET_ATS_Information *ats,
+                                                                               
                                                                                
 uint32_t ats_count);
 
 /**
  * Function that will be called for each address the transport

Modified: gnunet/src/testbed/gnunet-service-testbed_cache.c
===================================================================
--- gnunet/src/testbed/gnunet-service-testbed_cache.c   2013-03-25 09:40:44 UTC 
(rev 26590)
+++ gnunet/src/testbed/gnunet-service-testbed_cache.c   2013-03-25 09:41:29 UTC 
(rev 26591)
@@ -540,8 +540,6 @@
  *
  * @param cls closure
  * @param peer the peer that connected
- * @param ats performance data
- * @param ats_count number of entries in ats (excluding 0-termination)
  */
 static void
 transport_peer_connect_notify_cb (void *cls,

Modified: gnunet/src/transport/gnunet-service-transport.c
===================================================================
--- gnunet/src/transport/gnunet-service-transport.c     2013-03-25 09:40:44 UTC 
(rev 26590)
+++ gnunet/src/transport/gnunet-service-transport.c     2013-03-25 09:41:29 UTC 
(rev 26591)
@@ -103,8 +103,6 @@
  *
  * @param cls the 'HELLO' message
  * @param target a connected neighbour
- * @param ats performance information (unused)
- * @param ats_count number of records in ats (unused)
  * @param address the address
  * @param bandwidth_in inbound quota in NBO
  * @param bandwidth_out outbound quota in NBO
@@ -144,8 +142,6 @@
  * @param address the address
  * @param session session used
  * @param message the message to process
- * @param ats performance information
- * @param ats_count number of records in ats
  * @return how long the plugin should wait until receiving more data
  */
 static struct GNUNET_TIME_Relative
@@ -204,8 +200,6 @@
  * @param peer (claimed) identity of the other peer
  * @param message the message, NULL if we only care about
  *                learning about the delay until we should receive again -- 
FIXME!
- * @param ats performance information
- * @param ats_count number of records in ats
  * @param session identifier used for this session (NULL for plugins
  *                that do not offer bi-directional communication to the sender
  *                using the same "connection")
@@ -415,9 +409,12 @@
  * LAN, WAN etc. address
  *
  * @param cls closure
- * @param addr binary address
- * @param addrlen length of the address
- * @return ATS Information containing the network type
+ * @param peer the peer
+ * @param address binary address
+ * @param address_len length of the address
+ * @param session the session
+ * @param ats the ats information to update
+ * @param ats_count the number of ats elements
  */
 static void
 plugin_env_update_metrics (void *cls,
@@ -492,8 +489,6 @@
  *
  * @param cls closure
  * @param peer the peer that connected
- * @param ats performance data
- * @param ats_count number of entries in ats
  * @param bandwidth_in inbound bandwidth in NBO
  * @param bandwidth_out outbound bandwidth in NBO
  */

Modified: gnunet/src/transport/gnunet-service-transport.h
===================================================================
--- gnunet/src/transport/gnunet-service-transport.h     2013-03-25 09:40:44 UTC 
(rev 26590)
+++ gnunet/src/transport/gnunet-service-transport.h     2013-03-25 09:41:29 UTC 
(rev 26591)
@@ -76,8 +76,6 @@
  * @param peer (claimed) identity of the other peer
  * @param message the message, NULL if we only care about
  *                learning about the delay until we should receive again -- 
FIXME!
- * @param ats performance information
- * @param ats_count number of records in ats
  * @param session identifier used for this session (NULL for plugins
  *                that do not offer bi-directional communication to the sender
  *                using the same "connection")

Modified: gnunet/src/transport/gnunet-service-transport_manipulation.c
===================================================================
--- gnunet/src/transport/gnunet-service-transport_manipulation.c        
2013-03-25 09:40:44 UTC (rev 26590)
+++ gnunet/src/transport/gnunet-service-transport_manipulation.c        
2013-03-25 09:41:29 UTC (rev 26591)
@@ -351,9 +351,12 @@
  * LAN, WAN etc. address
  *
  * @param cls closure
- * @param addr binary address
- * @param addrlen length of the address
- * @return ATS Information containing the network type
+ * @param peer the peer
+ * @param address binary address
+ * @param address_len length of the address
+ * @param session the session
+ * @param ats the ats information
+ * @param ats_count the number of ats information
  */
 void
 GST_manipulation_metrics_recv (void *cls,




reply via email to

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