aboutsummaryrefslogtreecommitdiff
path: root/src/cadet
diff options
context:
space:
mode:
Diffstat (limited to 'src/cadet')
-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 @@
60#define TESTPROGAM_NAME "test-cadet-channel-resumption" 60#define TESTPROGAM_NAME "test-cadet-channel-resumption"
61 61
62/** 62/**
63 * Counter for gathering peerinformation.
64 */
65static int peerinfo_cnt = 0;
66
67/**
63 * Structure for storing information of testbed peers. 68 * Structure for storing information of testbed peers.
64 */ 69 */
65struct testbed_peers 70struct TEST_PEERS
66{ 71{
67 /** 72 /**
68 * Index of the peer. 73 * Index of the peer.
69 */ 74 */
70 int index; 75 int idx;
71 76
72 /** 77 /**
73 * Peer Identity. 78 * Peer Identity.
74 */ 79 */
75 struct GNUNET_PeerIdentity id; 80 struct GNUNET_PeerIdentity id;
76} testbed_peers[2]; 81
82 struct GNUNET_TESTBED_Peer *testbed_peer;
83
84 int ready;
85
86} test_peers[2];
87
77 88
78/****************************** TEST LOGIC ********************************/ 89/****************************** TEST LOGIC ********************************/
79 90