X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=src%2Ftestbed%2Ftest_testbed_api_topology_clique.c;h=7b8c802a097f1bb8e287f122832910b827bf9b55;hb=a900b29ddaa9ea46c731b054b5e3ef3e725b95a8;hp=eb6254b104e24553b32119822f1b88e4fa67bb4c;hpb=30c5c323f28ade8a1e7c6c593778793e44accb3a;p=oweals%2Fgnunet.git diff --git a/src/testbed/test_testbed_api_topology_clique.c b/src/testbed/test_testbed_api_topology_clique.c index eb6254b10..7b8c802a0 100644 --- 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 - (C) 2008--2012 Christian Grothoff (and other contributing authors) + (C) 2008--2013 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 @@ -114,11 +114,17 @@ controller_event_cb (void *cls, * * @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, - struct GNUNET_TESTBED_Peer **peers_) + struct GNUNET_TESTBED_Peer **peers_, + unsigned int links_succeeded, + unsigned int links_failed) { 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, + NULL, + NULL, GNUNET_TESTBED_TOPOLOGY_CLIQUE, /* GNUNET_TESTBED_TOPOLOGY_ERDOS_RENYI, */ /* NUM_PEERS, */