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_testbed_run.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_testbed_run.c')
-rw-r--r-- | src/testbed/test_testbed_api_testbed_run.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/testbed/test_testbed_api_testbed_run.c b/src/testbed/test_testbed_api_testbed_run.c index b22905757..b7cff2ec7 100644 --- a/src/testbed/test_testbed_api_testbed_run.c +++ b/src/testbed/test_testbed_api_testbed_run.c | |||
@@ -98,6 +98,7 @@ do_abort (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
98 | * Signature of a main function for a testcase. | 98 | * Signature of a main function for a testcase. |
99 | * | 99 | * |
100 | * @param cls closure | 100 | * @param cls closure |
101 | * @param h the run handle | ||
101 | * @param num_peers number of peers in 'peers' | 102 | * @param num_peers number of peers in 'peers' |
102 | * @param peers_ handle to peers run in the testbed | 103 | * @param peers_ handle to peers run in the testbed |
103 | * @param links_succeeded the number of overlay link connection attempts that | 104 | * @param links_succeeded the number of overlay link connection attempts that |
@@ -106,7 +107,9 @@ do_abort (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
106 | * failed | 107 | * failed |
107 | */ | 108 | */ |
108 | static void | 109 | static void |
109 | test_master (void *cls, unsigned int num_peers, | 110 | test_master (void *cls, |
111 | struct GNUNET_TESTBED_RunHandle *h, | ||
112 | unsigned int num_peers, | ||
110 | struct GNUNET_TESTBED_Peer **peers_, | 113 | struct GNUNET_TESTBED_Peer **peers_, |
111 | unsigned int links_succeeded, | 114 | unsigned int links_succeeded, |
112 | unsigned int links_failed) | 115 | unsigned int links_failed) |