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_peer_reconfiguration.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_peer_reconfiguration.c')
-rw-r--r-- | src/testbed/test_testbed_api_peer_reconfiguration.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/testbed/test_testbed_api_peer_reconfiguration.c b/src/testbed/test_testbed_api_peer_reconfiguration.c index e2aa2c140..7f7bf6473 100644 --- a/src/testbed/test_testbed_api_peer_reconfiguration.c +++ b/src/testbed/test_testbed_api_peer_reconfiguration.c | |||
@@ -143,6 +143,7 @@ controller_cb (void *cls, const struct GNUNET_TESTBED_EventInformation *event) | |||
143 | * Signature of a main function for a testcase. | 143 | * Signature of a main function for a testcase. |
144 | * | 144 | * |
145 | * @param cls closure | 145 | * @param cls closure |
146 | * @param h the run handle | ||
146 | * @param num_peers number of peers in 'peers' | 147 | * @param num_peers number of peers in 'peers' |
147 | * @param peers_ handle to peers run in the testbed | 148 | * @param peers_ handle to peers run in the testbed |
148 | * @param links_succeeded the number of overlay link connection attempts that | 149 | * @param links_succeeded the number of overlay link connection attempts that |
@@ -151,7 +152,9 @@ controller_cb (void *cls, const struct GNUNET_TESTBED_EventInformation *event) | |||
151 | * failed | 152 | * failed |
152 | */ | 153 | */ |
153 | static void | 154 | static void |
154 | test_master (void *cls, unsigned int num_peers, | 155 | test_master (void *cls, |
156 | struct GNUNET_TESTBED_RunHandle *h, | ||
157 | unsigned int num_peers, | ||
155 | struct GNUNET_TESTBED_Peer **peers_, | 158 | struct GNUNET_TESTBED_Peer **peers_, |
156 | unsigned int links_succeeded, | 159 | unsigned int links_succeeded, |
157 | unsigned int links_failed) | 160 | unsigned int links_failed) |