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.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/include/gnunet_testing_plugin.h b/src/include/gnunet_testing_plugin.h
index 527f509ad..6a54cacd2 100644
--- a/src/include/gnunet_testing_plugin.h
+++ b/src/include/gnunet_testing_plugin.h
@@ -36,9 +36,17 @@ extern "C"
36#endif 36#endif
37#endif 37#endif
38 38
39typedef void
40(*TESTBED_CMD_HELPER_write_cb) (struct GNUNET_MessageHeader *message, size_t
41 msg_length);
42
43typedef void
44(*GNUNET_TESTING_PLUGIN_StartTestCase) (TESTBED_CMD_HELPER_write_cb
45 write_message, char *router_ip,
46 char *node_ip);
39 47
40typedef void 48typedef void
41(*GNUNET_TESTING_PLUGIN_StartTestCase) (); 49(*GNUNET_TESTING_PLUGIN_ALL_PEERS_STARTED) ();
42 50
43struct GNUNET_TESTING_PluginFunctions 51struct GNUNET_TESTING_PluginFunctions
44{ 52{
@@ -48,6 +56,8 @@ struct GNUNET_TESTING_PluginFunctions
48 void *cls; 56 void *cls;
49 57
50 GNUNET_TESTING_PLUGIN_StartTestCase start_testcase; 58 GNUNET_TESTING_PLUGIN_StartTestCase start_testcase;
59
60 GNUNET_TESTING_PLUGIN_ALL_PEERS_STARTED all_peers_started;
51}; 61};
52 62
53#if 0 /* keep Emacsens' auto-indent happy */ 63#if 0 /* keep Emacsens' auto-indent happy */