-doxygen
authorSree Harsha Totakura <totakura@in.tum.de>
Fri, 20 Jul 2012 16:56:26 +0000 (16:56 +0000)
committerSree Harsha Totakura <totakura@in.tum.de>
Fri, 20 Jul 2012 16:56:26 +0000 (16:56 +0000)
src/testbed/gnunet-service-testbed.c
src/testbed/gnunet-testbed-helper.c
src/testbed/testbed_api.c
src/testbed/testbed_helper.h

index a80b63c0edb3cf512a7f2a61430c31e1feeb996f..f58757596e116a858c0460734f77e1cc0a32870e 100644 (file)
@@ -557,7 +557,7 @@ route_list_add (struct Route *route)
 /**
  * Adds a slave to the slave array
  *
- * @param route the route to add
+ * @param slave the slave controller to add
  */
 static void
 slave_list_add (struct Slave *slave)
@@ -578,7 +578,7 @@ slave_list_add (struct Slave *slave)
 /**
  * Adds a peer to the peer array
  *
- * @param route the route to add
+ * @param peer the peer to add
  */
 static void
 peer_list_add (struct Peer *peer)
index 91219a49c3600a998e47646c890ae6564dfbc8fe..737d13c6d0c697a97686006e7143370f911027fe 100644 (file)
@@ -133,7 +133,7 @@ static int ret;
  * Task to shutting down nicely
  *
  * @param cls NULL
- * @return tc the task context
+ * @param tc the task context
  */
 static void
 shutdown_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
@@ -183,8 +183,8 @@ shutdown_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
 /**
  * Task to write to the standard out
  *
- * @param 
- * @return 
+ * @param cls the WriteContext
+ * @param tc the TaskContext
  */
 static void
 write_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
@@ -342,7 +342,7 @@ tokenizer_cb (void *cls, void *client,
  * Task to read from stdin
  *
  * @param cls NULL
- * @return tc the task context
+ * @param tc the task context
  */
 static void
 read_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
index e03f9d3c9540adb0dad362039b3220485ccbd668..553e1404a00e3b0146b8be0084cb93c55a778aeb 100644 (file)
@@ -780,16 +780,16 @@ GNUNET_TESTBED_controller_start (const char *controller_ip,
  * @param cproc the controller process handle
  */
 void
-GNUNET_TESTBED_controller_stop (struct GNUNET_TESTBED_ControllerProc *cp)
+GNUNET_TESTBED_controller_stop (struct GNUNET_TESTBED_ControllerProc *cproc)
 {
-  if (NULL != cp->shandle)
-    GNUNET_HELPER_send_cancel (cp->shandle);
-  GNUNET_HELPER_stop (cp->helper);
-  if (NULL != cp->cfg)
-    GNUNET_CONFIGURATION_destroy (cp->cfg);
-  GNUNET_free_non_null (cp->port);
-  GNUNET_free_non_null (cp->dst);
-  GNUNET_free (cp);
+  if (NULL != cproc->shandle)
+    GNUNET_HELPER_send_cancel (cproc->shandle);
+  GNUNET_HELPER_stop (cproc->helper);
+  if (NULL != cproc->cfg)
+    GNUNET_CONFIGURATION_destroy (cproc->cfg);
+  GNUNET_free_non_null (cproc->port);
+  GNUNET_free_non_null (cproc->dst);
+  GNUNET_free (cproc);
 }
 
 
index 8b3c84ddee08c15bf497126282231421bb45515c..6fa35f08b8f9667ad92c7bcf97b7b6e837102254 100644 (file)
@@ -19,7 +19,7 @@
  */
 
 /**
- * @file testbed/testbed_helper.c
+ * @file testbed/testbed_helper.h
  * @brief Message formats for communication between testbed api and
  *          gnunet-testbed-helper process
  * @author Sree Harsha Totakura <sreeharsha@totakura.in>