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_test.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_test.c')
-rw-r--r-- | src/testbed/test_testbed_api_test.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/testbed/test_testbed_api_test.c b/src/testbed/test_testbed_api_test.c index 8eb2ba7f1..bd5ee28c4 100644 --- a/src/testbed/test_testbed_api_test.c +++ b/src/testbed/test_testbed_api_test.c | |||
@@ -193,6 +193,7 @@ controller_event_cb (void *cls, | |||
193 | * Signature of a main function for a testcase. | 193 | * Signature of a main function for a testcase. |
194 | * | 194 | * |
195 | * @param cls closure | 195 | * @param cls closure |
196 | * @param h the run handle | ||
196 | * @param num_peers number of peers in 'peers' | 197 | * @param num_peers number of peers in 'peers' |
197 | * @param peers- handle to peers run in the testbed | 198 | * @param peers- handle to peers run in the testbed |
198 | * @param links_succeeded the number of overlay link connection attempts that | 199 | * @param links_succeeded the number of overlay link connection attempts that |
@@ -201,7 +202,9 @@ controller_event_cb (void *cls, | |||
201 | * failed | 202 | * failed |
202 | */ | 203 | */ |
203 | static void | 204 | static void |
204 | test_master (void *cls, unsigned int num_peers, | 205 | test_master (void *cls, |
206 | struct GNUNET_TESTBED_RunHandle *h, | ||
207 | unsigned int num_peers, | ||
205 | struct GNUNET_TESTBED_Peer **peers_, | 208 | struct GNUNET_TESTBED_Peer **peers_, |
206 | unsigned int links_succeeded, | 209 | unsigned int links_succeeded, |
207 | unsigned int links_failed) | 210 | unsigned int links_failed) |