summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/cadet/test_cadeT.c17
1 files changed, 14 insertions, 3 deletions
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
@@ -60,20 +60,31 @@
#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 ********************************/