aboutsummaryrefslogtreecommitdiff
path: root/src/consensus
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/consensus
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/consensus')
-rw-r--r--src/consensus/gnunet-consensus-profiler.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/consensus/gnunet-consensus-profiler.c b/src/consensus/gnunet-consensus-profiler.c
index 418cc99ba..b64abeff6 100644
--- a/src/consensus/gnunet-consensus-profiler.c
+++ b/src/consensus/gnunet-consensus-profiler.c
@@ -303,6 +303,7 @@ peer_info_cb (void *cb_cls,
303 * Signature of a main function for a testcase. 303 * Signature of a main function for a testcase.
304 * 304 *
305 * @param cls closure 305 * @param cls closure
306 * @param h the run handle
306 * @param num_peers number of peers in 'peers' 307 * @param num_peers number of peers in 'peers'
307 * @param started_peers handle to peers run in the testbed. NULL upon timeout (see 308 * @param started_peers handle to peers run in the testbed. NULL upon timeout (see
308 * GNUNET_TESTBED_test_run()). 309 * GNUNET_TESTBED_test_run()).
@@ -313,6 +314,7 @@ peer_info_cb (void *cb_cls,
313 */ 314 */
314static void 315static void
315test_master (void *cls, 316test_master (void *cls,
317 struct GNUNET_TESTBED_RunHandle *h,
316 unsigned int num_peers, 318 unsigned int num_peers,
317 struct GNUNET_TESTBED_Peer **started_peers, 319 struct GNUNET_TESTBED_Peer **started_peers,
318 unsigned int links_succeeded, 320 unsigned int links_succeeded,