aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_testing_ng_lib.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/gnunet_testing_ng_lib.h')
-rw-r--r--src/include/gnunet_testing_ng_lib.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/src/include/gnunet_testing_ng_lib.h b/src/include/gnunet_testing_ng_lib.h
index 8927fd4f1..994ce31f1 100644
--- a/src/include/gnunet_testing_ng_lib.h
+++ b/src/include/gnunet_testing_ng_lib.h
@@ -29,6 +29,8 @@
29 29
30#include "gnunet_util_lib.h" 30#include "gnunet_util_lib.h"
31#include "gnunet_testing_plugin.h" 31#include "gnunet_testing_plugin.h"
32#include "gnunet_transport_application_service.h"
33#include "gnunet_testing_lib.h"
32 34
33 35
34/* ********************* Helper functions ********************* */ 36/* ********************* Helper functions ********************* */
@@ -831,4 +833,39 @@ int
831GNUNET_TESTING_get_trait_what_am_i (const struct GNUNET_TESTING_Command *cmd, 833GNUNET_TESTING_get_trait_what_am_i (const struct GNUNET_TESTING_Command *cmd,
832 char **what_am_i); 834 char **what_am_i);
833 835
836int
837GNUNET_TESTING_get_trait_application_handle (const struct
838 GNUNET_TESTING_Command *cmd,
839 struct
840 GNUNET_TRANSPORT_ApplicationHandle
841 **ah);
842
843int
844GNUNET_TESTING_get_trait_peer_id (const struct
845 GNUNET_TESTING_Command *cmd,
846 struct GNUNET_PeerIdentity **id);
847
848int
849GNUNET_TESTING_get_trait_connected_peers_map (const struct
850 GNUNET_TESTING_Command
851 *cmd,
852 struct
853 GNUNET_CONTAINER_MultiPeerMap **
854 connected_peers_map);
855int
856GNUNET_TESTING_get_trait_hello_size (const struct
857 GNUNET_TESTING_Command
858 *cmd,
859 size_t **hello_size);
860
861int
862GNUNET_TESTING_get_trait_hello (const struct
863 GNUNET_TESTING_Command
864 *cmd,
865 char **hello);
866
867int
868GNUNET_TESTING_get_trait_test_system (const struct
869 GNUNET_TESTING_Command *cmd,
870 struct GNUNET_TESTING_System **test_system);
834#endif 871#endif