aboutsummaryrefslogtreecommitdiff
path: root/src/cadet/test_cadeT.c
diff options
context:
space:
mode:
authorxrs <xrs@mail36.net>2020-02-29 17:58:00 +0100
committerxrs <xrs@mail36.net>2020-06-19 22:48:54 +0200
commit19c05fbf32f39ecd96a25344536102a9c49b5c04 (patch)
tree6fa5b4dc56360985fde4f420d67abb9c7f702aa4 /src/cadet/test_cadeT.c
parent29171c64abcba21ae53b5b5057ba01d77c83cc6e (diff)
downloadgnunet-19c05fbf32f39ecd96a25344536102a9c49b5c04.tar.gz
gnunet-19c05fbf32f39ecd96a25344536102a9c49b5c04.zip
refactor function logs; refactor conntect to services
Diffstat (limited to 'src/cadet/test_cadeT.c')
-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