diff options
author | xrs <xrs@mail36.net> | 2020-02-29 15:54:52 +0100 |
---|---|---|
committer | xrs <xrs@mail36.net> | 2020-06-19 22:48:53 +0200 |
commit | 29171c64abcba21ae53b5b5057ba01d77c83cc6e (patch) | |
tree | 4da75ee26b224a599e9706a74b55682b4c5cc18a /src | |
parent | bcd310958724db5e13b1f88f9316988c49ddb1b5 (diff) | |
download | gnunet-29171c64abcba21ae53b5b5057ba01d77c83cc6e.tar.gz gnunet-29171c64abcba21ae53b5b5057ba01d77c83cc6e.zip |
add request for peer information
Diffstat (limited to 'src')
-rw-r--r-- | src/cadet/test_cadeT.c | 16 |
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 @@ | |||
59 | #define CONFIG "test_cadet.conf" | 59 | #define CONFIG "test_cadet.conf" |
60 | #define TESTPROGAM_NAME "test-cadet-channel-resumption" | 60 | #define TESTPROGAM_NAME "test-cadet-channel-resumption" |
61 | 61 | ||
62 | /** | ||
63 | * Structure for storing information of testbed peers. | ||
64 | */ | ||
65 | struct testbed_peers | ||
66 | { | ||
67 | /** | ||
68 | * Index of the peer. | ||
69 | */ | ||
70 | int index; | ||
71 | |||
72 | /** | ||
73 | * Peer Identity. | ||
74 | */ | ||
75 | struct GNUNET_PeerIdentity id; | ||
76 | } testbed_peers[2]; | ||
77 | |||
62 | /****************************** TEST LOGIC ********************************/ | 78 | /****************************** TEST LOGIC ********************************/ |
63 | 79 | ||
64 | static int kx_initiator; | 80 | static int kx_initiator; |