diff options
Diffstat (limited to 'src/include/gnunet_testing_ng_lib.h')
-rw-r--r-- | src/include/gnunet_testing_ng_lib.h | 37 |
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 | |||
831 | GNUNET_TESTING_get_trait_what_am_i (const struct GNUNET_TESTING_Command *cmd, | 833 | GNUNET_TESTING_get_trait_what_am_i (const struct GNUNET_TESTING_Command *cmd, |
832 | char **what_am_i); | 834 | char **what_am_i); |
833 | 835 | ||
836 | int | ||
837 | GNUNET_TESTING_get_trait_application_handle (const struct | ||
838 | GNUNET_TESTING_Command *cmd, | ||
839 | struct | ||
840 | GNUNET_TRANSPORT_ApplicationHandle | ||
841 | **ah); | ||
842 | |||
843 | int | ||
844 | GNUNET_TESTING_get_trait_peer_id (const struct | ||
845 | GNUNET_TESTING_Command *cmd, | ||
846 | struct GNUNET_PeerIdentity **id); | ||
847 | |||
848 | int | ||
849 | GNUNET_TESTING_get_trait_connected_peers_map (const struct | ||
850 | GNUNET_TESTING_Command | ||
851 | *cmd, | ||
852 | struct | ||
853 | GNUNET_CONTAINER_MultiPeerMap ** | ||
854 | connected_peers_map); | ||
855 | int | ||
856 | GNUNET_TESTING_get_trait_hello_size (const struct | ||
857 | GNUNET_TESTING_Command | ||
858 | *cmd, | ||
859 | size_t **hello_size); | ||
860 | |||
861 | int | ||
862 | GNUNET_TESTING_get_trait_hello (const struct | ||
863 | GNUNET_TESTING_Command | ||
864 | *cmd, | ||
865 | char **hello); | ||
866 | |||
867 | int | ||
868 | GNUNET_TESTING_get_trait_test_system (const struct | ||
869 | GNUNET_TESTING_Command *cmd, | ||
870 | struct GNUNET_TESTING_System **test_system); | ||
834 | #endif | 871 | #endif |