summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxrs <xrs@mail36.net>2020-02-29 15:54:52 +0100
committerxrs <xrs@mail36.net>2020-06-19 22:48:53 +0200
commit29171c64abcba21ae53b5b5057ba01d77c83cc6e (patch)
tree4da75ee26b224a599e9706a74b55682b4c5cc18a
parentbcd310958724db5e13b1f88f9316988c49ddb1b5 (diff)
add request for peer information
-rw-r--r--src/cadet/test_cadeT.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/cadet/test_cadeT.c b/src/cadet/test_cadeT.c
index 71170aa80..2248387a1 100644
--- a/src/cadet/test_cadeT.c
+++ b/src/cadet/test_cadeT.c
@@ -59,6 +59,22 @@
#define CONFIG "test_cadet.conf"
#define TESTPROGAM_NAME "test-cadet-channel-resumption"
+/**
+ * Structure for storing information of testbed peers.
+ */
+struct testbed_peers
+{
+ /**
+ * Index of the peer.
+ */
+ int index;
+
+ /**
+ * Peer Identity.
+ */
+ struct GNUNET_PeerIdentity id;
+} testbed_peers[2];
+
/****************************** TEST LOGIC ********************************/
static int kx_initiator;