aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_testing_plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/gnunet_testing_plugin.h')
-rw-r--r--src/include/gnunet_testing_plugin.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/include/gnunet_testing_plugin.h b/src/include/gnunet_testing_plugin.h
index 9d0ef269d..28b505976 100644
--- a/src/include/gnunet_testing_plugin.h
+++ b/src/include/gnunet_testing_plugin.h
@@ -62,6 +62,12 @@ typedef void
62typedef void 62typedef void
63(*GNUNET_TESTING_PLUGIN_ALL_LOCAL_TESTS_PREPARED) (); 63(*GNUNET_TESTING_PLUGIN_ALL_LOCAL_TESTS_PREPARED) ();
64 64
65typedef void
66(*GNUNET_TESTING_PLUGIN_BARRIER_ADVANCED) (const char *barrier_name);
67
68typedef struct GNUNET_TESTING_Barrier *
69(*GNUNET_TESTING_PLUGIN_GET_WAITING_FOR_BARRIERS) ();
70
65 71
66struct GNUNET_TESTING_PluginFunctions 72struct GNUNET_TESTING_PluginFunctions
67{ 73{
@@ -70,11 +76,15 @@ struct GNUNET_TESTING_PluginFunctions
70 */ 76 */
71 void *cls; 77 void *cls;
72 78
79 GNUNET_TESTING_PLUGIN_BARRIER_ADVANCED barrier_advanced;
80
73 GNUNET_TESTING_PLUGIN_StartTestCase start_testcase; 81 GNUNET_TESTING_PLUGIN_StartTestCase start_testcase;
74 82
75 GNUNET_TESTING_PLUGIN_ALL_PEERS_STARTED all_peers_started; 83 GNUNET_TESTING_PLUGIN_ALL_PEERS_STARTED all_peers_started;
76 84
77 GNUNET_TESTING_PLUGIN_ALL_LOCAL_TESTS_PREPARED all_local_tests_prepared; 85 GNUNET_TESTING_PLUGIN_ALL_LOCAL_TESTS_PREPARED all_local_tests_prepared;
86
87 GNUNET_TESTING_PLUGIN_GET_WAITING_FOR_BARRIERS get_waiting_for_barriers;
78}; 88};
79 89
80#if 0 /* keep Emacsens' auto-indent happy */ 90#if 0 /* keep Emacsens' auto-indent happy */