add request for peer information
authorxrs <xrs@mail36.net>
Sat, 29 Feb 2020 14:54:52 +0000 (15:54 +0100)
committerxrs <xrs@mail36.net>
Fri, 19 Jun 2020 20:48:53 +0000 (22:48 +0200)
src/cadet/test_cadeT.c

index 71170aa8059db31e2e37ca973646c98c6f8a7112..2248387a1c40827143c8a6321a6b0d81afe88b8f 100644 (file)
 #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;