diff options
author | t3sserakt <t3ss@posteo.de> | 2021-10-25 14:49:05 +0200 |
---|---|---|
committer | t3sserakt <t3ss@posteo.de> | 2021-10-25 14:49:05 +0200 |
commit | 1609d627e509043a946f611d7589105cfae2364d (patch) | |
tree | d6022bea17730f96c7d87b0a1c8f602717edb25d /src/transport/transport-testing-cmds.h | |
parent | 513f23e74650db9408267e82ef8bcb8f770d1015 (diff) | |
download | gnunet-1609d627e509043a946f611d7589105cfae2364d.tar.gz gnunet-1609d627e509043a946f611d7589105cfae2364d.zip |
changes to reflect the changes in testing_api_loop.c
Diffstat (limited to 'src/transport/transport-testing-cmds.h')
-rw-r--r-- | src/transport/transport-testing-cmds.h | 25 |
1 files changed, 24 insertions, 1 deletions
diff --git a/src/transport/transport-testing-cmds.h b/src/transport/transport-testing-cmds.h index f6e34df62..d6bb46f7d 100644 --- a/src/transport/transport-testing-cmds.h +++ b/src/transport/transport-testing-cmds.h | |||
@@ -182,7 +182,7 @@ struct StartPeerState | |||
182 | * | 182 | * |
183 | */ | 183 | */ |
184 | int | 184 | int |
185 | GNUNET_TESTING_get_trait_connect_peer_state ( | 185 | GNUNET_TRANSPORT_get_trait_connect_peer_state ( |
186 | const struct GNUNET_TESTING_Command *cmd, | 186 | const struct GNUNET_TESTING_Command *cmd, |
187 | struct ConnectPeersState **cps); | 187 | struct ConnectPeersState **cps); |
188 | 188 | ||
@@ -234,6 +234,29 @@ GNUNET_TRANSPORT_cmd_send_simple (const char *label, | |||
234 | uint32_t num); | 234 | uint32_t num); |
235 | 235 | ||
236 | 236 | ||
237 | /** | ||
238 | * Create command. | ||
239 | * | ||
240 | * @param label name for command. | ||
241 | * @param start_peer_label Label of the cmd to start a peer. | ||
242 | * @param create_label Label of the cmd to create the testing system. | ||
243 | * @param num Number globally identifying the node. | ||
244 | * @param node_n The number of the node in a network namespace. | ||
245 | * @param namespace_n The number of the network namespace. | ||
246 | * @param The topology for the test setup. | ||
247 | * @return command. | ||
248 | */ | ||
249 | struct GNUNET_TESTING_Command | ||
250 | GNUNET_TRANSPORT_cmd_backchannel_check (const char *label, | ||
251 | const char *start_peer_label, | ||
252 | const char *create_label, | ||
253 | uint32_t num, | ||
254 | unsigned int node_n, | ||
255 | unsigned int namespace_n, | ||
256 | struct GNUNET_TESTING_NetjailTopology * | ||
257 | topology); | ||
258 | |||
259 | |||
237 | 260 | ||
238 | 261 | ||
239 | 262 | ||