aboutsummaryrefslogtreecommitdiff
path: root/src/fs/gnunet-fs-profiler.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/fs/gnunet-fs-profiler.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/fs/gnunet-fs-profiler.c')
-rw-r--r--src/fs/gnunet-fs-profiler.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/fs/gnunet-fs-profiler.c b/src/fs/gnunet-fs-profiler.c
index cde70ae88..33b293055 100644
--- a/src/fs/gnunet-fs-profiler.c
+++ b/src/fs/gnunet-fs-profiler.c
@@ -128,6 +128,7 @@ terminate_task (void *cls,
128 * Signature of a main function for a testcase. 128 * Signature of a main function for a testcase.
129 * 129 *
130 * @param cls closure 130 * @param cls closure
131 * @param h the run handle
131 * @param num_peers number of peers in 'peers' 132 * @param num_peers number of peers in 'peers'
132 * @param peers handle to peers run in the testbed 133 * @param peers handle to peers run in the testbed
133 * @param links_succeeded the number of overlay link connection attempts that 134 * @param links_succeeded the number of overlay link connection attempts that
@@ -136,7 +137,9 @@ terminate_task (void *cls,
136 * failed 137 * failed
137 */ 138 */
138static void 139static void
139test_master (void *cls, unsigned int num_peers, 140test_master (void *cls,
141 struct GNUNET_TESTBED_RunHandle *h,
142 unsigned int num_peers,
140 struct GNUNET_TESTBED_Peer **peers, 143 struct GNUNET_TESTBED_Peer **peers,
141 unsigned int links_succeeded, 144 unsigned int links_succeeded,
142 unsigned int links_failed) 145 unsigned int links_failed)