From: xrs Date: Sat, 29 Feb 2020 16:58:00 +0000 (+0100) Subject: refactor function logs; refactor conntect to services X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=19c05fbf32f39ecd96a25344536102a9c49b5c04;p=oweals%2Fgnunet.git refactor function logs; refactor conntect to services --- diff --git a/src/cadet/test_cadeT.c b/src/cadet/test_cadeT.c index 2248387a1..dd6c163c4 100644 --- a/src/cadet/test_cadeT.c +++ b/src/cadet/test_cadeT.c @@ -59,21 +59,32 @@ #define CONFIG "test_cadet.conf" #define TESTPROGAM_NAME "test-cadet-channel-resumption" +/** + * Counter for gathering peerinformation. + */ +static int peerinfo_cnt = 0; + /** * Structure for storing information of testbed peers. */ -struct testbed_peers +struct TEST_PEERS { /** * Index of the peer. */ - int index; + int idx; /** * Peer Identity. */ struct GNUNET_PeerIdentity id; -} testbed_peers[2]; + + struct GNUNET_TESTBED_Peer *testbed_peer; + + int ready; + +} test_peers[2]; + /****************************** TEST LOGIC ********************************/