aboutsummaryrefslogtreecommitdiff
path: root/src/ats
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2014-07-24 11:57:02 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2014-07-24 11:57:02 +0000
commita35ab677ed4396f271cfd3fea2051044a6a8b5d7 (patch)
treeeea1190ad0ee245375cf3fbf8f2589b4ebec0531 /src/ats
parent9e77b7fcdecbf00a51ff056b3041fd5fd260e2b4 (diff)
downloadgnunet-a35ab677ed4396f271cfd3fea2051044a6a8b5d7.tar.gz
gnunet-a35ab677ed4396f271cfd3fea2051044a6a8b5d7.zip
fixing doxygen
Diffstat (limited to 'src/ats')
-rw-r--r--src/ats/gnunet-ats-solver-eval.c1
-rw-r--r--src/ats/gnunet-service-ats_normalization.c5
-rw-r--r--src/ats/gnunet-service-ats_normalization.h10
-rw-r--r--src/ats/gnunet-service-ats_performance.c6
-rw-r--r--src/ats/plugin_ats_proportional.c3
5 files changed, 14 insertions, 11 deletions
diff --git a/src/ats/gnunet-ats-solver-eval.c b/src/ats/gnunet-ats-solver-eval.c
index d21529f22..fbcd14a9c 100644
--- a/src/ats/gnunet-ats-solver-eval.c
+++ b/src/ats/gnunet-ats-solver-eval.c
@@ -1062,6 +1062,7 @@ find_active_address (struct TestPeer *p)
1062 * @param period duration of a period of generation (~ 1/frequency) 1062 * @param period duration of a period of generation (~ 1/frequency)
1063 * @param frequency how long to generate property 1063 * @param frequency how long to generate property
1064 * @param kind ATS preference to generate 1064 * @param kind ATS preference to generate
1065 * @param feedback_frequency how often to give feedback
1065 * @return the preference generator 1066 * @return the preference generator
1066 */ 1067 */
1067struct PreferenceGenerator * 1068struct PreferenceGenerator *
diff --git a/src/ats/gnunet-service-ats_normalization.c b/src/ats/gnunet-service-ats_normalization.c
index 0423db673..17edf282d 100644
--- a/src/ats/gnunet-service-ats_normalization.c
+++ b/src/ats/gnunet-service-ats_normalization.c
@@ -202,8 +202,10 @@ static GNUNET_SCHEDULER_TaskIdentifier aging_task;
202 202
203/** 203/**
204 * Update a peer 204 * Update a peer
205 *
205 * @param id peer id 206 * @param id peer id
206 * @param kind the kind 207 * @param kind the kind
208 * @param rp the relative peer struct
207 * @return the new relative preference 209 * @return the new relative preference
208 */ 210 */
209static void 211static void
@@ -448,7 +450,8 @@ preference_aging (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
448 */ 450 */
449void 451void
450GAS_normalization_normalize_preference (void *client, 452GAS_normalization_normalize_preference (void *client,
451 const struct GNUNET_PeerIdentity *peer, enum GNUNET_ATS_PreferenceKind kind, 453 const struct GNUNET_PeerIdentity *peer,
454 enum GNUNET_ATS_PreferenceKind kind,
452 float score_abs) 455 float score_abs)
453{ 456{
454 struct PreferenceClient *c_cur; 457 struct PreferenceClient *c_cur;
diff --git a/src/ats/gnunet-service-ats_normalization.h b/src/ats/gnunet-service-ats_normalization.h
index a82d66f46..bba0ab304 100644
--- a/src/ats/gnunet-service-ats_normalization.h
+++ b/src/ats/gnunet-service-ats_normalization.h
@@ -87,16 +87,16 @@ GAS_normalization_get_preferences_by_client (const void *client,
87/** 87/**
88 * Normalize an updated preference value 88 * Normalize an updated preference value
89 * 89 *
90 * @param src the client with this preference 90 * @param client the client with this preference
91 * @param peer the peer to change the preference for 91 * @param peer the peer to change the preference for
92 * @param kind the kind to change the preference 92 * @param kind the kind to change the preference
93 * @param score_abs the normalized score 93 * @param score_abs the normalized score
94 */ 94 */
95void 95void
96GAS_normalization_normalize_preference (void *src, 96GAS_normalization_normalize_preference (void *client,
97 const struct GNUNET_PeerIdentity *peer, 97 const struct GNUNET_PeerIdentity *peer,
98 enum GNUNET_ATS_PreferenceKind kind, 98 enum GNUNET_ATS_PreferenceKind kind,
99 float score_abs); 99 float score_abs);
100 100
101/** 101/**
102 * Update and normalize a atsi performance information 102 * Update and normalize a atsi performance information
diff --git a/src/ats/gnunet-service-ats_performance.c b/src/ats/gnunet-service-ats_performance.c
index 16b6404d6..ac2509455 100644
--- a/src/ats/gnunet-service-ats_performance.c
+++ b/src/ats/gnunet-service-ats_performance.c
@@ -260,7 +260,7 @@ GAS_performance_notify_all_clients (const struct GNUNET_PeerIdentity *peer,
260/** 260/**
261 * Iterator for called from #GAS_addresses_get_peer_info() 261 * Iterator for called from #GAS_addresses_get_peer_info()
262 * 262 *
263 * @param p_it_cls closure with the `struct PerformanceClient *` 263 * @param cls closure with the `struct PerformanceClient *`
264 * @param id the peer id 264 * @param id the peer id
265 * @param plugin_name plugin name 265 * @param plugin_name plugin name
266 * @param plugin_addr address 266 * @param plugin_addr address
@@ -422,12 +422,12 @@ transmit_req_addr (struct AddressIteration *ai,
422/** 422/**
423 * Iterator for #GAS_addresses_get_peer_info() 423 * Iterator for #GAS_addresses_get_peer_info()
424 * 424 *
425 * @param p_it_cls closure with our `struct AddressIteration *` 425 * @param cls closure with our `struct AddressIteration *`
426 * @param id the peer id 426 * @param id the peer id
427 * @param plugin_name plugin name 427 * @param plugin_name plugin name
428 * @param plugin_addr address 428 * @param plugin_addr address
429 * @param plugin_addr_len length of @a plugin_addr 429 * @param plugin_addr_len length of @a plugin_addr
430 * @param address_active is address actively used 430 * @param active is address actively used
431 * @param atsi ats performance information 431 * @param atsi ats performance information
432 * @param atsi_count number of ats performance elements in @a atsi 432 * @param atsi_count number of ats performance elements in @a atsi
433 * @param bandwidth_out current outbound bandwidth assigned to address 433 * @param bandwidth_out current outbound bandwidth assigned to address
diff --git a/src/ats/plugin_ats_proportional.c b/src/ats/plugin_ats_proportional.c
index 5fc065cba..744602eb8 100644
--- a/src/ats/plugin_ats_proportional.c
+++ b/src/ats/plugin_ats_proportional.c
@@ -1122,7 +1122,6 @@ propagate_bandwidth (struct GAS_PROPORTIONAL_Handle *s,
1122 * 1122 *
1123 * @param s the solver handle 1123 * @param s the solver handle
1124 * @param n the network, can be NULL for all network 1124 * @param n the network, can be NULL for all network
1125 * @param address_except do not notify for this address
1126 */ 1125 */
1127static void 1126static void
1128distribute_bandwidth_in_network (struct GAS_PROPORTIONAL_Handle *s, 1127distribute_bandwidth_in_network (struct GAS_PROPORTIONAL_Handle *s,
@@ -1927,7 +1926,7 @@ GAS_proportional_address_add (void *solver,
1927/** 1926/**
1928 * Function invoked when the plugin is loaded. 1927 * Function invoked when the plugin is loaded.
1929 * 1928 *
1930 * @param cls[in,out] the `struct GNUNET_ATS_PluginEnvironment *` to use; 1929 * @param[in,out] cls the `struct GNUNET_ATS_PluginEnvironment *` to use;
1931 * modified to return the API functions (ugh). 1930 * modified to return the API functions (ugh).
1932 * @return the `struct GAS_PROPORTIONAL_Handle` to pass as a closure 1931 * @return the `struct GAS_PROPORTIONAL_Handle` to pass as a closure
1933 */ 1932 */