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/experimentation | |
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/experimentation')
-rw-r--r-- | src/experimentation/test_experimentation_clique_connect.c | 5 | ||||
-rw-r--r-- | src/experimentation/test_experimentation_clique_run.c | 5 |
2 files changed, 8 insertions, 2 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 | */ |
355 | static void | 356 | static void |
356 | test_master (void *cls, unsigned int num_peers, | 357 | test_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) |
diff --git a/src/experimentation/test_experimentation_clique_run.c b/src/experimentation/test_experimentation_clique_run.c index e7613bba1..62f6c74f6 100644 --- a/src/experimentation/test_experimentation_clique_run.c +++ b/src/experimentation/test_experimentation_clique_run.c | |||
@@ -318,6 +318,7 @@ stat_disconnect_adapter (void *cls, void *op_result) | |||
318 | * Signature of a main function for a testcase. | 318 | * Signature of a main function for a testcase. |
319 | * | 319 | * |
320 | * @param cls closure | 320 | * @param cls closure |
321 | * @param h the run handle | ||
321 | * @param num_peers number of peers in 'peers' | 322 | * @param num_peers number of peers in 'peers' |
322 | * @param peers_ handle to peers run in the testbed | 323 | * @param peers_ handle to peers run in the testbed |
323 | * @param links_succeeded the number of overlay link connection attempts that | 324 | * @param links_succeeded the number of overlay link connection attempts that |
@@ -326,7 +327,9 @@ stat_disconnect_adapter (void *cls, void *op_result) | |||
326 | * failed | 327 | * failed |
327 | */ | 328 | */ |
328 | static void | 329 | static void |
329 | test_master (void *cls, unsigned int num_peers, | 330 | test_master (void *cls, |
331 | struct GNUNET_TESTBED_RunHandle *h, | ||
332 | unsigned int num_peers, | ||
330 | struct GNUNET_TESTBED_Peer **peers_, | 333 | struct GNUNET_TESTBED_Peer **peers_, |
331 | unsigned int links_succeeded, | 334 | unsigned int links_succeeded, |
332 | unsigned int links_failed) | 335 | unsigned int links_failed) |