diff options
Diffstat (limited to 'src/include/gnunet_testing_ng_lib.h')
-rw-r--r-- | src/include/gnunet_testing_ng_lib.h | 74 |
1 files changed, 74 insertions, 0 deletions
diff --git a/src/include/gnunet_testing_ng_lib.h b/src/include/gnunet_testing_ng_lib.h index aad7ddec2..939863d67 100644 --- a/src/include/gnunet_testing_ng_lib.h +++ b/src/include/gnunet_testing_ng_lib.h | |||
@@ -838,8 +838,82 @@ GNUNET_TESTING_get_trait_test_system (const struct | |||
838 | GNUNET_TESTING_Command *cmd, | 838 | GNUNET_TESTING_Command *cmd, |
839 | struct GNUNET_TESTING_System **test_system); | 839 | struct GNUNET_TESTING_System **test_system); |
840 | 840 | ||
841 | |||
841 | struct GNUNET_TESTING_Command | 842 | struct GNUNET_TESTING_Command |
842 | GNUNET_TESTING_cmd_system_create (const char *label, | 843 | GNUNET_TESTING_cmd_system_create (const char *label, |
843 | const char *testdir); | 844 | const char *testdir); |
844 | 845 | ||
846 | |||
847 | struct GNUNET_TESTING_Command | ||
848 | GNUNET_TESTING_cmd_system_destroy (const char *label, | ||
849 | const char *create_label); | ||
850 | |||
851 | |||
852 | /** | ||
853 | * Create command. | ||
854 | * | ||
855 | * @param label name for command. | ||
856 | * @param binaryname to start. | ||
857 | * @return command. | ||
858 | */ | ||
859 | struct GNUNET_TESTING_Command | ||
860 | GNUNET_TESTING_cmd_netjail_start (const char *label, | ||
861 | char *local_m, | ||
862 | char *global_n); | ||
863 | |||
864 | |||
865 | /** | ||
866 | * Create command. | ||
867 | * | ||
868 | * @param label name for command. | ||
869 | * @param binaryname to exec. | ||
870 | * @return command. | ||
871 | */ | ||
872 | struct GNUNET_TESTING_Command | ||
873 | GNUNET_TESTING_cmd_netjail_start_testing_system (const char *label, | ||
874 | char *local_m, | ||
875 | char *global_n, | ||
876 | char *plugin_name, | ||
877 | unsigned int *rv); | ||
878 | |||
879 | |||
880 | /** | ||
881 | * Create command. | ||
882 | * | ||
883 | * @param label name for command. | ||
884 | * @param binaryname to stop. | ||
885 | * @return command. | ||
886 | */ | ||
887 | struct GNUNET_TESTING_Command | ||
888 | GNUNET_TESTING_cmd_netjail_stop (const char *label, | ||
889 | char *local_m, | ||
890 | char *global_n); | ||
891 | |||
892 | |||
893 | struct GNUNET_TESTING_Command | ||
894 | GNUNET_TESTING_cmd_stop_testing_system (const char *label, | ||
895 | const char *helper_start_label, | ||
896 | char *local_m, | ||
897 | char *global_n); | ||
898 | |||
899 | |||
900 | int | ||
901 | GNUNET_TESTING_get_trait_helper_handles (const struct | ||
902 | GNUNET_TESTING_Command *cmd, | ||
903 | struct GNUNET_HELPER_Handle ***helper); | ||
904 | |||
905 | |||
906 | struct GNUNET_TESTING_Command | ||
907 | GNUNET_TESTING_cmd_block_until_all_peers_started (const char *label, | ||
908 | unsigned int * | ||
909 | all_peers_started); | ||
910 | |||
911 | struct GNUNET_TESTING_Command | ||
912 | GNUNET_TESTING_cmd_send_peer_ready (const char *label, | ||
913 | TESTING_CMD_HELPER_write_cb write_message); | ||
914 | |||
915 | struct GNUNET_TESTING_Command | ||
916 | GNUNET_TESTING_cmd_local_test_finished (const char *label, | ||
917 | TESTING_CMD_HELPER_write_cb | ||
918 | write_message); | ||
845 | #endif | 919 | #endif |