[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r34034 - gnunet/src/ats
From: |
gnunet |
Subject: |
[GNUnet-SVN] r34034 - gnunet/src/ats |
Date: |
Thu, 24 Jul 2014 13:57:02 +0200 |
Author: wachs
Date: 2014-07-24 13:57:02 +0200 (Thu, 24 Jul 2014)
New Revision: 34034
Modified:
gnunet/src/ats/gnunet-ats-solver-eval.c
gnunet/src/ats/gnunet-service-ats_normalization.c
gnunet/src/ats/gnunet-service-ats_normalization.h
gnunet/src/ats/gnunet-service-ats_performance.c
gnunet/src/ats/plugin_ats_proportional.c
Log:
fixing doxygen
Modified: gnunet/src/ats/gnunet-ats-solver-eval.c
===================================================================
--- gnunet/src/ats/gnunet-ats-solver-eval.c 2014-07-24 11:55:36 UTC (rev
34033)
+++ gnunet/src/ats/gnunet-ats-solver-eval.c 2014-07-24 11:57:02 UTC (rev
34034)
@@ -1062,6 +1062,7 @@
* @param period duration of a period of generation (~ 1/frequency)
* @param frequency how long to generate property
* @param kind ATS preference to generate
+ * @param feedback_frequency how often to give feedback
* @return the preference generator
*/
struct PreferenceGenerator *
Modified: gnunet/src/ats/gnunet-service-ats_normalization.c
===================================================================
--- gnunet/src/ats/gnunet-service-ats_normalization.c 2014-07-24 11:55:36 UTC
(rev 34033)
+++ gnunet/src/ats/gnunet-service-ats_normalization.c 2014-07-24 11:57:02 UTC
(rev 34034)
@@ -202,8 +202,10 @@
/**
* Update a peer
+ *
* @param id peer id
* @param kind the kind
+ * @param rp the relative peer struct
* @return the new relative preference
*/
static void
@@ -448,7 +450,8 @@
*/
void
GAS_normalization_normalize_preference (void *client,
- const struct GNUNET_PeerIdentity *peer, enum GNUNET_ATS_PreferenceKind
kind,
+ const struct GNUNET_PeerIdentity *peer,
+ enum GNUNET_ATS_PreferenceKind kind,
float score_abs)
{
struct PreferenceClient *c_cur;
Modified: gnunet/src/ats/gnunet-service-ats_normalization.h
===================================================================
--- gnunet/src/ats/gnunet-service-ats_normalization.h 2014-07-24 11:55:36 UTC
(rev 34033)
+++ gnunet/src/ats/gnunet-service-ats_normalization.h 2014-07-24 11:57:02 UTC
(rev 34034)
@@ -87,16 +87,16 @@
/**
* Normalize an updated preference value
*
- * @param src the client with this preference
+ * @param client the client with this preference
* @param peer the peer to change the preference for
* @param kind the kind to change the preference
* @param score_abs the normalized score
*/
void
-GAS_normalization_normalize_preference (void *src,
- const struct GNUNET_PeerIdentity *peer,
- enum GNUNET_ATS_PreferenceKind kind,
- float score_abs);
+GAS_normalization_normalize_preference (void *client,
+ const struct GNUNET_PeerIdentity *peer,
+ enum GNUNET_ATS_PreferenceKind kind,
+ float score_abs);
/**
* Update and normalize a atsi performance information
Modified: gnunet/src/ats/gnunet-service-ats_performance.c
===================================================================
--- gnunet/src/ats/gnunet-service-ats_performance.c 2014-07-24 11:55:36 UTC
(rev 34033)
+++ gnunet/src/ats/gnunet-service-ats_performance.c 2014-07-24 11:57:02 UTC
(rev 34034)
@@ -260,7 +260,7 @@
/**
* Iterator for called from #GAS_addresses_get_peer_info()
*
- * @param p_it_cls closure with the `struct PerformanceClient *`
+ * @param cls closure with the `struct PerformanceClient *`
* @param id the peer id
* @param plugin_name plugin name
* @param plugin_addr address
@@ -422,12 +422,12 @@
/**
* Iterator for #GAS_addresses_get_peer_info()
*
- * @param p_it_cls closure with our `struct AddressIteration *`
+ * @param cls closure with our `struct AddressIteration *`
* @param id the peer id
* @param plugin_name plugin name
* @param plugin_addr address
* @param plugin_addr_len length of @a plugin_addr
- * @param address_active is address actively used
+ * @param active is address actively used
* @param atsi ats performance information
* @param atsi_count number of ats performance elements in @a atsi
* @param bandwidth_out current outbound bandwidth assigned to address
Modified: gnunet/src/ats/plugin_ats_proportional.c
===================================================================
--- gnunet/src/ats/plugin_ats_proportional.c 2014-07-24 11:55:36 UTC (rev
34033)
+++ gnunet/src/ats/plugin_ats_proportional.c 2014-07-24 11:57:02 UTC (rev
34034)
@@ -1122,7 +1122,6 @@
*
* @param s the solver handle
* @param n the network, can be NULL for all network
- * @param address_except do not notify for this address
*/
static void
distribute_bandwidth_in_network (struct GAS_PROPORTIONAL_Handle *s,
@@ -1927,7 +1926,7 @@
/**
* Function invoked when the plugin is loaded.
*
- * @param cls[in,out] the `struct GNUNET_ATS_PluginEnvironment *` to use;
+ * @param[in,out] cls the `struct GNUNET_ATS_PluginEnvironment *` to use;
* modified to return the API functions (ugh).
* @return the `struct GAS_PROPORTIONAL_Handle` to pass as a closure
*/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r34034 - gnunet/src/ats,
gnunet <=