From eeb5212c1230e0d7e5fbec9ffa48cc9b6159f579 Mon Sep 17 00:00:00 2001 From: Sree Harsha Totakura Date: Fri, 20 Jul 2012 16:56:26 +0000 Subject: [PATCH] -doxygen --- src/testbed/gnunet-service-testbed.c | 4 ++-- src/testbed/gnunet-testbed-helper.c | 8 ++++---- src/testbed/testbed_api.c | 18 +++++++++--------- src/testbed/testbed_helper.h | 2 +- 4 files changed, 16 insertions(+), 16 deletions(-) diff --git a/src/testbed/gnunet-service-testbed.c b/src/testbed/gnunet-service-testbed.c index a80b63c0e..f58757596 100644 --- a/src/testbed/gnunet-service-testbed.c +++ b/src/testbed/gnunet-service-testbed.c @@ -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) diff --git a/src/testbed/gnunet-testbed-helper.c b/src/testbed/gnunet-testbed-helper.c index 91219a49c..737d13c6d 100644 --- a/src/testbed/gnunet-testbed-helper.c +++ b/src/testbed/gnunet-testbed-helper.c @@ -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) diff --git a/src/testbed/testbed_api.c b/src/testbed/testbed_api.c index e03f9d3c9..553e1404a 100644 --- a/src/testbed/testbed_api.c +++ b/src/testbed/testbed_api.c @@ -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); } diff --git a/src/testbed/testbed_helper.h b/src/testbed/testbed_helper.h index 8b3c84dde..6fa35f08b 100644 --- a/src/testbed/testbed_helper.h +++ b/src/testbed/testbed_helper.h @@ -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 -- 2.25.1