aboutsummaryrefslogtreecommitdiff
path: root/src/transport/transport-testing-cmds.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/transport/transport-testing-cmds.h')
-rw-r--r--src/transport/transport-testing-cmds.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/transport/transport-testing-cmds.h b/src/transport/transport-testing-cmds.h
index f9ebafade..ecdabd35f 100644
--- a/src/transport/transport-testing-cmds.h
+++ b/src/transport/transport-testing-cmds.h
@@ -211,6 +211,14 @@ GNUNET_TRANSPORT_cmd_start_peer_v2 (const char *label,
211 const char *cfgname); 211 const char *cfgname);
212 212
213struct GNUNET_TESTING_Command 213struct GNUNET_TESTING_Command
214GNUNET_TRANSPORT_cmd_start_peer_v3 (const char *label,
215 const char *system_label,
216 uint32_t no,
217 char *node_ip,
218 struct GNUNET_MQ_MessageHandler *handlers,
219 const char *cfgname);
220
221struct GNUNET_TESTING_Command
214GNUNET_TRANSPORT_cmd_start_peer (const char *label, 222GNUNET_TRANSPORT_cmd_start_peer (const char *label,
215 const char *system_label, 223 const char *system_label,
216 char *m, 224 char *m,
@@ -237,6 +245,14 @@ GNUNET_TRANSPORT_cmd_connect_peers_v2 (const char *label,
237 uint32_t num); 245 uint32_t num);
238 246
239struct GNUNET_TESTING_Command 247struct GNUNET_TESTING_Command
248GNUNET_TRANSPORT_cmd_connect_peers_v3 (const char *label,
249 const char *start_peer_label,
250 const char *create_label,
251 uint32_t num,
252 struct GNUNET_TESTING_NetjailTopology *
253 topology);
254
255struct GNUNET_TESTING_Command
240GNUNET_TRANSPORT_cmd_send_simple (const char *label, 256GNUNET_TRANSPORT_cmd_send_simple (const char *label,
241 char *m, 257 char *m,
242 char *n, 258 char *n,
@@ -281,6 +297,16 @@ GNUNET_TRANSPORT_get_trait_connected_peers_map_v2 (const struct
281 * 297 *
282 * 298 *
283 connected_peers_map); 299 connected_peers_map);
300
301int
302GNUNET_TRANSPORT_get_trait_connected_peers_map_v3 (const struct
303 GNUNET_TESTING_Command
304 *cmd,
305 struct
306 GNUNET_CONTAINER_MultiShortmap
307 *
308 *
309 connected_peers_map);
284int 310int
285GNUNET_TRANSPORT_get_trait_hello_size (const struct 311GNUNET_TRANSPORT_get_trait_hello_size (const struct
286 GNUNET_TESTING_Command 312 GNUNET_TESTING_Command
@@ -308,5 +334,12 @@ GNUNET_TRANSPORT_get_trait_application_handle_v2 (const struct
308 GNUNET_TRANSPORT_ApplicationHandle 334 GNUNET_TRANSPORT_ApplicationHandle
309 **ah); 335 **ah);
310 336
337int
338GNUNET_TRANSPORT_get_trait_application_handle_v3 (const struct
339 GNUNET_TESTING_Command *cmd,
340 struct
341 GNUNET_TRANSPORT_ApplicationHandle
342 **ah);
343
311#endif 344#endif
312/* end of transport_testing.h */ 345/* end of transport_testing.h */