gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r30340 - gnunet/src/ats


From: gnunet
Subject: [GNUnet-SVN] r30340 - gnunet/src/ats
Date: Fri, 18 Oct 2013 18:07:57 +0200

Author: oehlmann
Date: 2013-10-18 18:07:57 +0200 (Fri, 18 Oct 2013)
New Revision: 30340

Modified:
   gnunet/src/ats/libgnunet_plugin_ats_ril.c
Log:
fix documentation errors

Modified: gnunet/src/ats/libgnunet_plugin_ats_ril.c
===================================================================
--- gnunet/src/ats/libgnunet_plugin_ats_ril.c   2013-10-18 15:37:21 UTC (rev 
30339)
+++ gnunet/src/ats/libgnunet_plugin_ats_ril.c   2013-10-18 16:07:57 UTC (rev 
30340)
@@ -588,8 +588,8 @@
 
 /**
  * Allocates a state vector and fills it with the features present
- *
  * @param solver the solver handle
+ * @param agent the agent handle
  * @return pointer to the state vector
  */
 static double *
@@ -633,7 +633,6 @@
  * For all networks a peer has an address in, this gets the maximum bandwidth 
which could
  * theoretically be available in one of the networks. This is used for 
bandwidth normalization.
  *
- * @param solver the solver handle
  * @param agent the agent handle
  * @param direction_in whether the inbound bandwidth should be considered. 
Returns the maximum outbound bandwidth if GNUNET_NO
  */
@@ -744,7 +743,8 @@
  * parts from the local (the peer specific) and the global (for all peers
  * identical) reward.
  *
- * @param solver solver handle
+ * @param solver the solver handle
+ * @param agent the agent handle
  * @return the reward
  */
 static double
@@ -916,8 +916,9 @@
 /**
  * Puts the action into effect by calling the according function
  *
- * @param solver solver handle
- * @param action action to perform by the solver
+ * @param solver the solver handle
+ * @param agent the action handle
+ * @param action the action to perform by the solver
  */
 static void
 envi_do_action (struct GAS_RIL_Handle *solver, struct RIL_Peer_Agent *agent, 
int action)
@@ -1045,8 +1046,8 @@
 /**
  * Cycles through all agents and lets the active ones do a step. Schedules the 
next step.
  *
- * @param solver the solver handle
- * @param tc task context for the scheduler
+ * @param cls the solver handle
+ * @param tc the task context for the scheduler
  */
 static void
 ril_periodic_step (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
@@ -1106,7 +1107,7 @@
 /**
  * Deallocate agent
  *
- * @param s solver handle
+ * @param solver the solver handle
  * @param agent the agent to retire
  */
 static void
@@ -1127,10 +1128,10 @@
 /**
  * Returns the agent for a peer
  *
- * @param s solver handle
- * @param peer identity of the peer
- * @param create whether to create an agent if none is allocated yet
- * @return agent
+ * @param solver the solver handle
+ * @param peer the identity of the peer
+ * @param create whether or not to create an agent, if none is allocated yet
+ * @return the agent
  */
 static struct RIL_Peer_Agent *
 ril_get_agent (struct GAS_RIL_Handle *solver, const struct GNUNET_PeerIdentity 
*peer, int create)
@@ -1259,7 +1260,7 @@
  * @param pref_rel the normalized preference value for this kind over all 
clients
  */
 void
-GAS_ril_address_change_preference (void *s,
+GAS_ril_address_change_preference (void *solver,
     const struct GNUNET_PeerIdentity *peer,
     enum GNUNET_ATS_PreferenceKind kind,
     double pref_rel)




reply via email to

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