diff options
Diffstat (limited to 'src/include/gnunet_testing_plugin.h')
-rw-r--r-- | src/include/gnunet_testing_plugin.h | 12 |
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 | ||
39 | typedef void | ||
40 | (*TESTBED_CMD_HELPER_write_cb) (struct GNUNET_MessageHeader *message, size_t | ||
41 | msg_length); | ||
42 | |||
43 | typedef void | ||
44 | (*GNUNET_TESTING_PLUGIN_StartTestCase) (TESTBED_CMD_HELPER_write_cb | ||
45 | write_message, char *router_ip, | ||
46 | char *node_ip); | ||
39 | 47 | ||
40 | typedef void | 48 | typedef void |
41 | (*GNUNET_TESTING_PLUGIN_StartTestCase) (); | 49 | (*GNUNET_TESTING_PLUGIN_ALL_PEERS_STARTED) (); |
42 | 50 | ||
43 | struct GNUNET_TESTING_PluginFunctions | 51 | struct 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 */ |