diff options
Diffstat (limited to 'src/consensus/gnunet-consensus.c')
-rw-r--r-- | src/consensus/gnunet-consensus.c | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/src/consensus/gnunet-consensus.c b/src/consensus/gnunet-consensus.c index 4525fc719..2524a20ca 100644 --- a/src/consensus/gnunet-consensus.c +++ b/src/consensus/gnunet-consensus.c | |||
@@ -276,10 +276,24 @@ peer_info_cb (void *cb_cls, | |||
276 | } | 276 | } |
277 | 277 | ||
278 | 278 | ||
279 | /** | ||
280 | * Signature of a main function for a testcase. | ||
281 | * | ||
282 | * @param cls closure | ||
283 | * @param num_peers number of peers in 'peers' | ||
284 | * @param peers handle to peers run in the testbed. NULL upon timeout (see | ||
285 | * GNUNET_TESTBED_test_run()). | ||
286 | * @param links_succeeded the number of overlay link connection attempts that | ||
287 | * succeeded | ||
288 | * @param links_failed the number of overlay link connection attempts that | ||
289 | * failed | ||
290 | */ | ||
279 | static void | 291 | static void |
280 | test_master (void *cls, | 292 | test_master (void *cls, |
281 | unsigned int num_peers, | 293 | unsigned int num_peers, |
282 | struct GNUNET_TESTBED_Peer **started_peers) | 294 | struct GNUNET_TESTBED_Peer **started_peers, |
295 | unsigned int links_succeeded, | ||
296 | unsigned int links_failed) | ||
283 | { | 297 | { |
284 | int i; | 298 | int i; |
285 | 299 | ||