projects
/
oweals
/
gnunet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- opaque mq structs
[oweals/gnunet.git]
/
src
/
testbed
/
test_testbed_api_topology_clique.c
diff --git
a/src/testbed/test_testbed_api_topology_clique.c
b/src/testbed/test_testbed_api_topology_clique.c
index eb6254b104e24553b32119822f1b88e4fa67bb4c..7b8c802a097f1bb8e287f122832910b827bf9b55 100644
(file)
--- a/
src/testbed/test_testbed_api_topology_clique.c
+++ b/
src/testbed/test_testbed_api_topology_clique.c
@@
-1,6
+1,6
@@
/*
This file is part of GNUnet
/*
This file is part of GNUnet
- (C) 2008--201
2
Christian Grothoff (and other contributing authors)
+ (C) 2008--201
3
Christian Grothoff (and other contributing authors)
GNUnet is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published
GNUnet is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published
@@
-114,11
+114,17
@@
controller_event_cb (void *cls,
*
* @param cls closure
* @param num_peers number of peers in 'peers'
*
* @param cls closure
* @param num_peers number of peers in 'peers'
- * @param peers handle to peers run in the testbed
+ * @param peers_ handle to peers run in the testbed
+ * @param links_succeeded the number of overlay link connection attempts that
+ * succeeded
+ * @param links_failed the number of overlay link connection attempts that
+ * failed
*/
static void
test_master (void *cls, unsigned int num_peers,
*/
static void
test_master (void *cls, unsigned int num_peers,
- struct GNUNET_TESTBED_Peer **peers_)
+ struct GNUNET_TESTBED_Peer **peers_,
+ unsigned int links_succeeded,
+ unsigned int links_failed)
{
unsigned int peer;
{
unsigned int peer;
@@
-130,6
+136,8
@@
test_master (void *cls, unsigned int num_peers,
peers = peers_;
overlay_connects = 0;
op = GNUNET_TESTBED_overlay_configure_topology (NULL, NUM_PEERS, peers, NULL,
peers = peers_;
overlay_connects = 0;
op = GNUNET_TESTBED_overlay_configure_topology (NULL, NUM_PEERS, peers, NULL,
+ NULL,
+ NULL,
GNUNET_TESTBED_TOPOLOGY_CLIQUE,
/* GNUNET_TESTBED_TOPOLOGY_ERDOS_RENYI, */
/* NUM_PEERS, */
GNUNET_TESTBED_TOPOLOGY_CLIQUE,
/* GNUNET_TESTBED_TOPOLOGY_ERDOS_RENYI, */
/* NUM_PEERS, */