diff options
author | Sree Harsha Totakura <totakura@in.tum.de> | 2013-09-06 14:38:24 +0000 |
---|---|---|
committer | Sree Harsha Totakura <totakura@in.tum.de> | 2013-09-06 14:38:24 +0000 |
commit | 2ca4b8a208f6f910c819bbaa6785a25ae2955501 (patch) | |
tree | 7328fb7cfc62189197dfa34035502a80b0acdcd3 /src/testbed/test_testbed_api_statistics.c | |
parent | 8d46a214ce11653b5160d32e330786fa487e3ae6 (diff) | |
download | gnunet-2ca4b8a208f6f910c819bbaa6785a25ae2955501.tar.gz gnunet-2ca4b8a208f6f910c819bbaa6785a25ae2955501.zip |
- give out run handle through which master controller's handle can be retrieved
Diffstat (limited to 'src/testbed/test_testbed_api_statistics.c')
-rw-r--r-- | src/testbed/test_testbed_api_statistics.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/testbed/test_testbed_api_statistics.c b/src/testbed/test_testbed_api_statistics.c index 463dc736e..e0f48fcb5 100644 --- a/src/testbed/test_testbed_api_statistics.c +++ b/src/testbed/test_testbed_api_statistics.c | |||
@@ -159,6 +159,7 @@ op_comp_cb (void *cls, | |||
159 | * Signature of a main function for a testcase. | 159 | * Signature of a main function for a testcase. |
160 | * | 160 | * |
161 | * @param cls closure | 161 | * @param cls closure |
162 | * @param h the run handle | ||
162 | * @param num_peers number of peers in 'peers' | 163 | * @param num_peers number of peers in 'peers' |
163 | * @param peers_ handle to peers run in the testbed | 164 | * @param peers_ handle to peers run in the testbed |
164 | * @param links_succeeded the number of overlay link connection attempts that | 165 | * @param links_succeeded the number of overlay link connection attempts that |
@@ -167,7 +168,9 @@ op_comp_cb (void *cls, | |||
167 | * failed | 168 | * failed |
168 | */ | 169 | */ |
169 | static void | 170 | static void |
170 | test_master (void *cls, unsigned int num_peers, | 171 | test_master (void *cls, |
172 | struct GNUNET_TESTBED_RunHandle *h, | ||
173 | unsigned int num_peers, | ||
171 | struct GNUNET_TESTBED_Peer **peers_, | 174 | struct GNUNET_TESTBED_Peer **peers_, |
172 | unsigned int links_succeeded, | 175 | unsigned int links_succeeded, |
173 | unsigned int links_failed) | 176 | unsigned int links_failed) |