aboutsummaryrefslogtreecommitdiff
path: root/src/ats
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2013-06-21 13:40:48 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2013-06-21 13:40:48 +0000
commitb7ae1ce7504f4b2bc7ce3eda3ca1e8819eb745da (patch)
treec2851969ba8c01eed9ab365c7d812242ab7c1c47 /src/ats
parent3ae08734c3357d11a09671ed4fe4e507f24e6f14 (diff)
downloadgnunet-b7ae1ce7504f4b2bc7ce3eda3ca1e8819eb745da.tar.gz
gnunet-b7ae1ce7504f4b2bc7ce3eda3ca1e8819eb745da.zip
doxygen fixes
Diffstat (limited to 'src/ats')
-rw-r--r--src/ats/gnunet-service-ats-solver_mlp.c4
-rw-r--r--src/ats/gnunet-service-ats-solver_mlp.h6
-rw-r--r--src/ats/gnunet-service-ats-solver_proportional.c2
-rw-r--r--src/ats/gnunet-service-ats-solver_proportional.h2
-rw-r--r--src/ats/gnunet-service-ats_normalization.c11
-rw-r--r--src/ats/gnunet-service-ats_normalization.h2
6 files changed, 19 insertions, 8 deletions
diff --git a/src/ats/gnunet-service-ats-solver_mlp.c b/src/ats/gnunet-service-ats-solver_mlp.c
index d7762d430..43c62df0a 100644
--- a/src/ats/gnunet-service-ats-solver_mlp.c
+++ b/src/ats/gnunet-service-ats-solver_mlp.c
@@ -19,7 +19,7 @@
19*/ 19*/
20 20
21/** 21/**
22 * @file ats/gnunet-service-ats_addresses_mlp.c 22 * @file ats/gnunet-service-ats-solver_mlp.c
23 * @brief ats mlp problem solver 23 * @brief ats mlp problem solver
24 * @author Matthias Wachs 24 * @author Matthias Wachs
25 * @author Christian Grothoff 25 * @author Christian Grothoff
@@ -1630,6 +1630,8 @@ GAS_mlp_done (void *solver)
1630 * @param dest_length array length for quota arrays 1630 * @param dest_length array length for quota arrays
1631 * @param bw_changed_cb callback for changed bandwidth amounts 1631 * @param bw_changed_cb callback for changed bandwidth amounts
1632 * @param bw_changed_cb_cls cls for callback 1632 * @param bw_changed_cb_cls cls for callback
1633 * @param get_preference callback to get relative preferences for a peer
1634 * @param get_preference_cls cls for callback to get relative preferences
1633 * @return struct GAS_MLP_Handle on success, NULL on fail 1635 * @return struct GAS_MLP_Handle on success, NULL on fail
1634 */ 1636 */
1635void * 1637void *
diff --git a/src/ats/gnunet-service-ats-solver_mlp.h b/src/ats/gnunet-service-ats-solver_mlp.h
index e7464ca96..ab9c59257 100644
--- a/src/ats/gnunet-service-ats-solver_mlp.h
+++ b/src/ats/gnunet-service-ats-solver_mlp.h
@@ -19,7 +19,7 @@
19*/ 19*/
20 20
21/** 21/**
22 * @file ats/gnunet-service-ats_addresses_mlp.h 22 * @file ats/gnunet-service-ats-solver_mlp.h
23 * @brief ats MLP problem solver 23 * @brief ats MLP problem solver
24 * @author Matthias Wachs 24 * @author Matthias Wachs
25 * @author Christian Grothoff 25 * @author Christian Grothoff
@@ -345,7 +345,7 @@ GAS_mlp_solve_problem (void *solver, struct GNUNET_CONTAINER_MultiHashMap * addr
345/** 345/**
346 * Init the MLP problem solving component 346 * Init the MLP problem solving component
347 * 347 *
348 * @param cfg configuration handle 348 * @param cfg the GNUNET_CONFIGURATION_Handle handle
349 * @param stats the GNUNET_STATISTICS handle 349 * @param stats the GNUNET_STATISTICS handle
350 * @param network array of GNUNET_ATS_NetworkType with length dest_length 350 * @param network array of GNUNET_ATS_NetworkType with length dest_length
351 * @param out_dest array of outbound quotas 351 * @param out_dest array of outbound quotas
@@ -353,6 +353,8 @@ GAS_mlp_solve_problem (void *solver, struct GNUNET_CONTAINER_MultiHashMap * addr
353 * @param dest_length array length for quota arrays 353 * @param dest_length array length for quota arrays
354 * @param bw_changed_cb callback for changed bandwidth amounts 354 * @param bw_changed_cb callback for changed bandwidth amounts
355 * @param bw_changed_cb_cls cls for callback 355 * @param bw_changed_cb_cls cls for callback
356 * @param get_preference callback to get relative preferences for a peer
357 * @param get_preference_cls cls for callback to get relative preferences
356 * @return struct GAS_MLP_Handle on success, NULL on fail 358 * @return struct GAS_MLP_Handle on success, NULL on fail
357 */ 359 */
358void * 360void *
diff --git a/src/ats/gnunet-service-ats-solver_proportional.c b/src/ats/gnunet-service-ats-solver_proportional.c
index 30a3b060d..51246f152 100644
--- a/src/ats/gnunet-service-ats-solver_proportional.c
+++ b/src/ats/gnunet-service-ats-solver_proportional.c
@@ -1225,6 +1225,8 @@ GAS_proportional_address_add (void *solver,
1225 * @param dest_length array length for quota arrays 1225 * @param dest_length array length for quota arrays
1226 * @param bw_changed_cb callback for changed bandwidth amounts 1226 * @param bw_changed_cb callback for changed bandwidth amounts
1227 * @param bw_changed_cb_cls cls for callback 1227 * @param bw_changed_cb_cls cls for callback
1228 * @param get_preference callback to get relative preferences for a peer
1229 * @param get_preference_cls cls for callback to get relative preferences
1228 * @return handle for the solver on success, NULL on fail 1230 * @return handle for the solver on success, NULL on fail
1229 */ 1231 */
1230void * 1232void *
diff --git a/src/ats/gnunet-service-ats-solver_proportional.h b/src/ats/gnunet-service-ats-solver_proportional.h
index 960580b3d..fda47cc93 100644
--- a/src/ats/gnunet-service-ats-solver_proportional.h
+++ b/src/ats/gnunet-service-ats-solver_proportional.h
@@ -73,6 +73,8 @@ GAS_proportional_address_change_preference (void *solver,
73 * @param dest_length array length for quota arrays 73 * @param dest_length array length for quota arrays
74 * @param bw_changed_cb callback for changed bandwidth amounts 74 * @param bw_changed_cb callback for changed bandwidth amounts
75 * @param bw_changed_cb_cls cls for callback 75 * @param bw_changed_cb_cls cls for callback
76 * @param get_preference callback to get relative preferences for a peer
77 * @param get_preference_cls cls for callback to get relative preferences
76 * @return handle for the solver on success, NULL on fail 78 * @return handle for the solver on success, NULL on fail
77 */ 79 */
78void * 80void *
diff --git a/src/ats/gnunet-service-ats_normalization.c b/src/ats/gnunet-service-ats_normalization.c
index f5dd6f1db..129aa1dd5 100644
--- a/src/ats/gnunet-service-ats_normalization.c
+++ b/src/ats/gnunet-service-ats_normalization.c
@@ -169,7 +169,8 @@ static struct PeerRelative defvalues;
169/** 169/**
170 * Update a peer 170 * Update a peer
171 * @param id peer id 171 * @param id peer id
172 * @pram kind the kind 172 * @param kind the kind
173 * @return the new relative preference
173 */ 174 */
174static double 175static double
175update_peers (struct GNUNET_PeerIdentity *id, 176update_peers (struct GNUNET_PeerIdentity *id,
@@ -307,8 +308,10 @@ recalculate_rel_preferences (struct PreferenceClient *c,
307 308
308/** 309/**
309 * Update the absolute preference value for a peer 310 * Update the absolute preference value for a peer
310 * @param id peer id 311 * @param c the client
311 * @param kind the kind 312 * @param p the peer
313 * @param kind the preference kind
314 * @param score_abs the absolute value
312 * @return the new relative preference value 315 * @return the new relative preference value
313 */ 316 */
314static double 317static double
@@ -489,7 +492,7 @@ GAS_normalization_get_preferences (const struct GNUNET_PeerIdentity *id)
489 * Start the normalization component 492 * Start the normalization component
490 * 493 *
491 * @param pref_ch_cb callback to call on relative preference changing 494 * @param pref_ch_cb callback to call on relative preference changing
492 * @param ref_ch_cb_cls cls for the callback 495 * @param pref_ch_cb_cls cls for the callback
493 */ 496 */
494void 497void
495GAS_normalization_start (GAS_Normalization_preference_changed_cb pref_ch_cb, 498GAS_normalization_start (GAS_Normalization_preference_changed_cb pref_ch_cb,
diff --git a/src/ats/gnunet-service-ats_normalization.h b/src/ats/gnunet-service-ats_normalization.h
index dbd68ee95..37e694dd7 100644
--- a/src/ats/gnunet-service-ats_normalization.h
+++ b/src/ats/gnunet-service-ats_normalization.h
@@ -68,7 +68,7 @@ GAS_normalization_change_preference (void *src,
68 * Start the normalization component 68 * Start the normalization component
69 * 69 *
70 * @param pref_ch_cb callback to call on relative preference changing 70 * @param pref_ch_cb callback to call on relative preference changing
71 * @param ref_ch_cb_cls cls for the callback 71 * @param pref_ch_cb_cls cls for the callback
72 */ 72 */
73void 73void
74GAS_normalization_start (GAS_Normalization_preference_changed_cb pref_ch_cb, void *pref_ch_cb_cls); 74GAS_normalization_start (GAS_Normalization_preference_changed_cb pref_ch_cb, void *pref_ch_cb_cls);