aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2013-03-25 09:41:29 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2013-03-25 09:41:29 +0000
commitf1dc3e85bc6ff5633b88da121cde855c5874f986 (patch)
tree9a417ddfea3688eb8cf3d32c96465c83ebd05696
parentb95a377885d3aaaedca0004e38a0ec8db0e7ae01 (diff)
downloadgnunet-f1dc3e85bc6ff5633b88da121cde855c5874f986.tar.gz
gnunet-f1dc3e85bc6ff5633b88da121cde855c5874f986.zip
doxygen
-rw-r--r--src/ats/ats_api_performance.c5
-rw-r--r--src/core/gnunet-service-core_neighbours.c4
-rw-r--r--src/include/gnunet_ats_service.h5
-rw-r--r--src/include/gnunet_transport_plugin.h12
-rw-r--r--src/testbed/gnunet-service-testbed_cache.c2
-rw-r--r--src/transport/gnunet-service-transport.c17
-rw-r--r--src/transport/gnunet-service-transport.h2
-rw-r--r--src/transport/gnunet-service-transport_manipulation.c9
8 files changed, 20 insertions, 36 deletions
diff --git a/src/ats/ats_api_performance.c b/src/ats/ats_api_performance.c
index 038a349aa..ec0b52fe1 100644
--- a/src/ats/ats_api_performance.c
+++ b/src/ats/ats_api_performance.c
@@ -784,10 +784,7 @@ GNUNET_ATS_performance_monitor_start (struct GNUNET_ATS_PerformanceHandle * ph,
784/** 784/**
785 * Stop monitoring performance information 785 * Stop monitoring performance information
786 * 786 *
787 * @param ph performance handle to use 787 * @param phm performance monitor handle to use
788 * @param monitor_cb function to call on performance changes
789 * @param monitor_cb_cls closure for infocb
790 * @return a performance monitor handle
791 */ 788 */
792void 789void
793GNUNET_ATS_performance_monitor_stop (struct GNUNET_ATS_PerformanceMonitorHandle * phm) 790GNUNET_ATS_performance_monitor_stop (struct GNUNET_ATS_PerformanceMonitorHandle * phm)
diff --git a/src/core/gnunet-service-core_neighbours.c b/src/core/gnunet-service-core_neighbours.c
index ea1cca7d6..78213f9d9 100644
--- a/src/core/gnunet-service-core_neighbours.c
+++ b/src/core/gnunet-service-core_neighbours.c
@@ -297,8 +297,6 @@ process_queue (struct Neighbour *n)
297 * 297 *
298 * @param cls closure 298 * @param cls closure
299 * @param peer the peer that connected 299 * @param peer the peer that connected
300 * @param atsi performance data
301 * @param atsi_count number of entries in ats (excluding 0-termination)
302 */ 300 */
303static void 301static void
304handle_transport_notify_connect (void *cls, 302handle_transport_notify_connect (void *cls,
@@ -366,8 +364,6 @@ handle_transport_notify_disconnect (void *cls,
366 * @param cls closure 364 * @param cls closure
367 * @param peer (claimed) identity of the other peer 365 * @param peer (claimed) identity of the other peer
368 * @param message the message 366 * @param message the message
369 * @param atsi performance data
370 * @param atsi_count number of entries in ats (excluding 0-termination)
371 */ 367 */
372static void 368static void
373handle_transport_receive (void *cls, const struct GNUNET_PeerIdentity *peer, 369handle_transport_receive (void *cls, const struct GNUNET_PeerIdentity *peer,
diff --git a/src/include/gnunet_ats_service.h b/src/include/gnunet_ats_service.h
index 7ac9f7f4a..1e5643794 100644
--- a/src/include/gnunet_ats_service.h
+++ b/src/include/gnunet_ats_service.h
@@ -773,10 +773,7 @@ GNUNET_ATS_performance_monitor_start (struct GNUNET_ATS_PerformanceHandle * ph,
773/** 773/**
774 * Stop monitoring performance information 774 * Stop monitoring performance information
775 * 775 *
776 * @param ph performance handle to use 776 * @param phm performance monitoring handle to use
777 * @param monitor_cb function to call on performance changes
778 * @param monitor_cb_cls closure for infocb
779 * @return a performance monitor handle
780 */ 777 */
781void 778void
782GNUNET_ATS_performance_monitor_stop (struct GNUNET_ATS_PerformanceMonitorHandle * phm); 779GNUNET_ATS_performance_monitor_stop (struct GNUNET_ATS_PerformanceMonitorHandle * phm);
diff --git a/src/include/gnunet_transport_plugin.h b/src/include/gnunet_transport_plugin.h
index bc635b1cc..3e0a590ba 100644
--- a/src/include/gnunet_transport_plugin.h
+++ b/src/include/gnunet_transport_plugin.h
@@ -135,12 +135,12 @@ typedef struct GNUNET_ATS_Information
135 */ 135 */
136typedef void 136typedef void
137(*GNUNET_TRANSPORT_UpdateAddressMetrics) (void *cls, 137(*GNUNET_TRANSPORT_UpdateAddressMetrics) (void *cls,
138 const struct GNUNET_PeerIdentity *peer, 138 struct GNUNET_PeerIdentity *peer,
139 const char *address, 139 const void *address,
140 uint16_t address_len, 140 uint16_t address_len,
141 struct Session *session, 141 struct Session *session,
142 struct GNUNET_ATS_Information *ats, 142 struct GNUNET_ATS_Information *ats,
143 uint32_t ats_count); 143 uint32_t ats_count);
144 144
145/** 145/**
146 * Function that will be called for each address the transport 146 * Function that will be called for each address the transport
diff --git a/src/testbed/gnunet-service-testbed_cache.c b/src/testbed/gnunet-service-testbed_cache.c
index 5e93da1f5..6be53f00e 100644
--- a/src/testbed/gnunet-service-testbed_cache.c
+++ b/src/testbed/gnunet-service-testbed_cache.c
@@ -540,8 +540,6 @@ peer_connect_notify_cb (void *cls, const struct GNUNET_PeerIdentity *peer,
540 * 540 *
541 * @param cls closure 541 * @param cls closure
542 * @param peer the peer that connected 542 * @param peer the peer that connected
543 * @param ats performance data
544 * @param ats_count number of entries in ats (excluding 0-termination)
545 */ 543 */
546static void 544static void
547transport_peer_connect_notify_cb (void *cls, 545transport_peer_connect_notify_cb (void *cls,
diff --git a/src/transport/gnunet-service-transport.c b/src/transport/gnunet-service-transport.c
index 685113b10..54342bfde 100644
--- a/src/transport/gnunet-service-transport.c
+++ b/src/transport/gnunet-service-transport.c
@@ -103,8 +103,6 @@ struct GNUNET_TIME_Relative hello_expiration;
103 * 103 *
104 * @param cls the 'HELLO' message 104 * @param cls the 'HELLO' message
105 * @param target a connected neighbour 105 * @param target a connected neighbour
106 * @param ats performance information (unused)
107 * @param ats_count number of records in ats (unused)
108 * @param address the address 106 * @param address the address
109 * @param bandwidth_in inbound quota in NBO 107 * @param bandwidth_in inbound quota in NBO
110 * @param bandwidth_out outbound quota in NBO 108 * @param bandwidth_out outbound quota in NBO
@@ -144,8 +142,6 @@ process_hello_update (void *cls, const struct GNUNET_MessageHeader *hello)
144 * @param address the address 142 * @param address the address
145 * @param session session used 143 * @param session session used
146 * @param message the message to process 144 * @param message the message to process
147 * @param ats performance information
148 * @param ats_count number of records in ats
149 * @return how long the plugin should wait until receiving more data 145 * @return how long the plugin should wait until receiving more data
150 */ 146 */
151static struct GNUNET_TIME_Relative 147static struct GNUNET_TIME_Relative
@@ -204,8 +200,6 @@ process_payload (const struct GNUNET_PeerIdentity *peer,
204 * @param peer (claimed) identity of the other peer 200 * @param peer (claimed) identity of the other peer
205 * @param message the message, NULL if we only care about 201 * @param message the message, NULL if we only care about
206 * learning about the delay until we should receive again -- FIXME! 202 * learning about the delay until we should receive again -- FIXME!
207 * @param ats performance information
208 * @param ats_count number of records in ats
209 * @param session identifier used for this session (NULL for plugins 203 * @param session identifier used for this session (NULL for plugins
210 * that do not offer bi-directional communication to the sender 204 * that do not offer bi-directional communication to the sender
211 * using the same "connection") 205 * using the same "connection")
@@ -415,9 +409,12 @@ GST_update_ats_metrics (struct GNUNET_PeerIdentity *peer,
415 * LAN, WAN etc. address 409 * LAN, WAN etc. address
416 * 410 *
417 * @param cls closure 411 * @param cls closure
418 * @param addr binary address 412 * @param peer the peer
419 * @param addrlen length of the address 413 * @param address binary address
420 * @return ATS Information containing the network type 414 * @param address_len length of the address
415 * @param session the session
416 * @param ats the ats information to update
417 * @param ats_count the number of ats elements
421 */ 418 */
422static void 419static void
423plugin_env_update_metrics (void *cls, 420plugin_env_update_metrics (void *cls,
@@ -492,8 +489,6 @@ ats_request_address_change (void *cls,
492 * 489 *
493 * @param cls closure 490 * @param cls closure
494 * @param peer the peer that connected 491 * @param peer the peer that connected
495 * @param ats performance data
496 * @param ats_count number of entries in ats
497 * @param bandwidth_in inbound bandwidth in NBO 492 * @param bandwidth_in inbound bandwidth in NBO
498 * @param bandwidth_out outbound bandwidth in NBO 493 * @param bandwidth_out outbound bandwidth in NBO
499 */ 494 */
diff --git a/src/transport/gnunet-service-transport.h b/src/transport/gnunet-service-transport.h
index 9a4233f01..b944da730 100644
--- a/src/transport/gnunet-service-transport.h
+++ b/src/transport/gnunet-service-transport.h
@@ -76,8 +76,6 @@ extern struct GNUNET_ATS_SchedulingHandle *GST_ats;
76 * @param peer (claimed) identity of the other peer 76 * @param peer (claimed) identity of the other peer
77 * @param message the message, NULL if we only care about 77 * @param message the message, NULL if we only care about
78 * learning about the delay until we should receive again -- FIXME! 78 * learning about the delay until we should receive again -- FIXME!
79 * @param ats performance information
80 * @param ats_count number of records in ats
81 * @param session identifier used for this session (NULL for plugins 79 * @param session identifier used for this session (NULL for plugins
82 * that do not offer bi-directional communication to the sender 80 * that do not offer bi-directional communication to the sender
83 * using the same "connection") 81 * using the same "connection")
diff --git a/src/transport/gnunet-service-transport_manipulation.c b/src/transport/gnunet-service-transport_manipulation.c
index 831d8fd5d..e6a8f5580 100644
--- a/src/transport/gnunet-service-transport_manipulation.c
+++ b/src/transport/gnunet-service-transport_manipulation.c
@@ -351,9 +351,12 @@ GST_manipulation_send (const struct GNUNET_PeerIdentity *target, const void *msg
351 * LAN, WAN etc. address 351 * LAN, WAN etc. address
352 * 352 *
353 * @param cls closure 353 * @param cls closure
354 * @param addr binary address 354 * @param peer the peer
355 * @param addrlen length of the address 355 * @param address binary address
356 * @return ATS Information containing the network type 356 * @param address_len length of the address
357 * @param session the session
358 * @param ats the ats information
359 * @param ats_count the number of ats information
357 */ 360 */
358void 361void
359GST_manipulation_metrics_recv (void *cls, 362GST_manipulation_metrics_recv (void *cls,