aboutsummaryrefslogtreecommitdiff
path: root/src/experimentation/test_experimentation_clique_connect.c
diff options
context:
space:
mode:
authorSree Harsha Totakura <totakura@in.tum.de>2013-09-06 14:38:24 +0000
committerSree Harsha Totakura <totakura@in.tum.de>2013-09-06 14:38:24 +0000
commit2ca4b8a208f6f910c819bbaa6785a25ae2955501 (patch)
tree7328fb7cfc62189197dfa34035502a80b0acdcd3 /src/experimentation/test_experimentation_clique_connect.c
parent8d46a214ce11653b5160d32e330786fa487e3ae6 (diff)
downloadgnunet-2ca4b8a208f6f910c819bbaa6785a25ae2955501.tar.gz
gnunet-2ca4b8a208f6f910c819bbaa6785a25ae2955501.zip
- give out run handle through which master controller's handle can be retrieved
Diffstat (limited to 'src/experimentation/test_experimentation_clique_connect.c')
-rw-r--r--src/experimentation/test_experimentation_clique_connect.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/experimentation/test_experimentation_clique_connect.c b/src/experimentation/test_experimentation_clique_connect.c
index 1905035b3..a84eabd7e 100644
--- a/src/experimentation/test_experimentation_clique_connect.c
+++ b/src/experimentation/test_experimentation_clique_connect.c
@@ -345,6 +345,7 @@ stat_disconnect_adapter (void *cls, void *op_result)
345 * Signature of a main function for a testcase. 345 * Signature of a main function for a testcase.
346 * 346 *
347 * @param cls closure 347 * @param cls closure
348 * @param h the run handle
348 * @param num_peers number of peers in 'peers' 349 * @param num_peers number of peers in 'peers'
349 * @param peers_ handle to peers run in the testbed 350 * @param peers_ handle to peers run in the testbed
350 * @param links_succeeded the number of overlay link connection attempts that 351 * @param links_succeeded the number of overlay link connection attempts that
@@ -353,7 +354,9 @@ stat_disconnect_adapter (void *cls, void *op_result)
353 * failed 354 * failed
354 */ 355 */
355static void 356static void
356test_master (void *cls, unsigned int num_peers, 357test_master (void *cls,
358 struct GNUNET_TESTBED_RunHandle *h,
359 unsigned int num_peers,
357 struct GNUNET_TESTBED_Peer **peers_, 360 struct GNUNET_TESTBED_Peer **peers_,
358 unsigned int links_succeeded, 361 unsigned int links_succeeded,
359 unsigned int links_failed) 362 unsigned int links_failed)