aboutsummaryrefslogtreecommitdiff
path: root/src/testbed
diff options
context:
space:
mode:
authorSree Harsha Totakura <totakura@in.tum.de>2012-07-20 16:56:26 +0000
committerSree Harsha Totakura <totakura@in.tum.de>2012-07-20 16:56:26 +0000
commiteeb5212c1230e0d7e5fbec9ffa48cc9b6159f579 (patch)
treee2d4d58e323226657856107d1391a474c00faa80 /src/testbed
parentebfff10bdd7e2220e3a1d329927dde04d8123c25 (diff)
downloadgnunet-eeb5212c1230e0d7e5fbec9ffa48cc9b6159f579.tar.gz
gnunet-eeb5212c1230e0d7e5fbec9ffa48cc9b6159f579.zip
-doxygen
Diffstat (limited to 'src/testbed')
-rw-r--r--src/testbed/gnunet-service-testbed.c4
-rw-r--r--src/testbed/gnunet-testbed-helper.c8
-rw-r--r--src/testbed/testbed_api.c18
-rw-r--r--src/testbed/testbed_helper.h2
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)
557/** 557/**
558 * Adds a slave to the slave array 558 * Adds a slave to the slave array
559 * 559 *
560 * @param route the route to add 560 * @param slave the slave controller to add
561 */ 561 */
562static void 562static void
563slave_list_add (struct Slave *slave) 563slave_list_add (struct Slave *slave)
@@ -578,7 +578,7 @@ slave_list_add (struct Slave *slave)
578/** 578/**
579 * Adds a peer to the peer array 579 * Adds a peer to the peer array
580 * 580 *
581 * @param route the route to add 581 * @param peer the peer to add
582 */ 582 */
583static void 583static void
584peer_list_add (struct Peer *peer) 584peer_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;
133 * Task to shutting down nicely 133 * Task to shutting down nicely
134 * 134 *
135 * @param cls NULL 135 * @param cls NULL
136 * @return tc the task context 136 * @param tc the task context
137 */ 137 */
138static void 138static void
139shutdown_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) 139shutdown_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
@@ -183,8 +183,8 @@ shutdown_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
183/** 183/**
184 * Task to write to the standard out 184 * Task to write to the standard out
185 * 185 *
186 * @param 186 * @param cls the WriteContext
187 * @return 187 * @param tc the TaskContext
188 */ 188 */
189static void 189static void
190write_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) 190write_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
@@ -342,7 +342,7 @@ tokenizer_cb (void *cls, void *client,
342 * Task to read from stdin 342 * Task to read from stdin
343 * 343 *
344 * @param cls NULL 344 * @param cls NULL
345 * @return tc the task context 345 * @param tc the task context
346 */ 346 */
347static void 347static void
348read_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) 348read_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,
780 * @param cproc the controller process handle 780 * @param cproc the controller process handle
781 */ 781 */
782void 782void
783GNUNET_TESTBED_controller_stop (struct GNUNET_TESTBED_ControllerProc *cp) 783GNUNET_TESTBED_controller_stop (struct GNUNET_TESTBED_ControllerProc *cproc)
784{ 784{
785 if (NULL != cp->shandle) 785 if (NULL != cproc->shandle)
786 GNUNET_HELPER_send_cancel (cp->shandle); 786 GNUNET_HELPER_send_cancel (cproc->shandle);
787 GNUNET_HELPER_stop (cp->helper); 787 GNUNET_HELPER_stop (cproc->helper);
788 if (NULL != cp->cfg) 788 if (NULL != cproc->cfg)
789 GNUNET_CONFIGURATION_destroy (cp->cfg); 789 GNUNET_CONFIGURATION_destroy (cproc->cfg);
790 GNUNET_free_non_null (cp->port); 790 GNUNET_free_non_null (cproc->port);
791 GNUNET_free_non_null (cp->dst); 791 GNUNET_free_non_null (cproc->dst);
792 GNUNET_free (cp); 792 GNUNET_free (cproc);
793} 793}
794 794
795 795
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 @@
19 */ 19 */
20 20
21/** 21/**
22 * @file testbed/testbed_helper.c 22 * @file testbed/testbed_helper.h
23 * @brief Message formats for communication between testbed api and 23 * @brief Message formats for communication between testbed api and
24 * gnunet-testbed-helper process 24 * gnunet-testbed-helper process
25 * @author Sree Harsha Totakura <sreeharsha@totakura.in> 25 * @author Sree Harsha Totakura <sreeharsha@totakura.in>