summaryrefslogtreecommitdiff
path: root/src/transport/transport-testing2.h
diff options
context:
space:
mode:
authort3sserakt <t3ss@posteo.de>2021-07-23 22:17:29 +0200
committert3sserakt <t3ss@posteo.de>2021-07-23 22:17:29 +0200
commit63a7eb6a3a94d43368b348c0a677bc77653cbe51 (patch)
tree2d9608a54ab9b13afb080335e092ad452e54fdc5 /src/transport/transport-testing2.h
parent6140d64e1c55e76de3ff520143b10290fa1ba197 (diff)
- smaller bug fixes
Diffstat (limited to 'src/transport/transport-testing2.h')
-rw-r--r--src/transport/transport-testing2.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/src/transport/transport-testing2.h b/src/transport/transport-testing2.h
index e2167ca7e..a6732e308 100644
--- a/src/transport/transport-testing2.h
+++ b/src/transport/transport-testing2.h
@@ -920,5 +920,42 @@ GNUNET_TRANSPORT_TESTING_get_test_plugin_name (const char *executable,
char *
GNUNET_TRANSPORT_TESTING_get_test_source_name (const char *file);
+struct GNUNET_TESTING_Command
+GNUNET_TRANSPORT_cmd_start_peer (const char *label,
+ const char *system_label,
+ char *m,
+ char *n,
+ struct GNUNET_MQ_MessageHandler *handlers,
+ const char *cfgname);
+
+struct GNUNET_TESTING_Command
+GNUNET_TRANSPORT_cmd_connect_peers (const char *label,
+ const char *peer1_label,
+ const char *peer2_label);
+
+int
+GNUNET_TRANSPORT_get_trait_peer_id (const struct
+ GNUNET_TESTING_Command *cmd,
+ struct GNUNET_PeerIdentity **id);
+
+int
+GNUNET_TRANSPORT_get_trait_connected_peers_map (const struct
+ GNUNET_TESTING_Command
+ *cmd,
+ struct
+ GNUNET_CONTAINER_MultiPeerMap **
+ connected_peers_map);
+int
+GNUNET_TRANSPORT_get_trait_hello_size (const struct
+ GNUNET_TESTING_Command
+ *cmd,
+ size_t **hello_size);
+
+int
+GNUNET_TRANSPORT_get_trait_hello (const struct
+ GNUNET_TESTING_Command
+ *cmd,
+ char **hello);
+
#endif
/* end of transport_testing.h */