28 #ifndef GNUNET_TESTING_PLUGIN_H
29 #define GNUNET_TESTING_PLUGIN_H
80 const char *router_ip,
85 const char *topology_data,
116 (*GNUNET_TESTING_PLUGIN_GET_WAITING_FOR_BARRIERS) (void);
static struct GNUNET_ARM_MonitorHandle * m
Monitor connection with ARM.
static int write_message(uint16_t message_type, const char *data, size_t data_length)
Write message to the master process.
commonly used definitions; globals in this file are exempt from the rule that the module name ("commo...
void(* GNUNET_TESTING_cmd_helper_finish_cb)()
Callback function which writes a message from the helper process running on a netjail node to the mas...
void(* GNUNET_TESTING_cmd_helper_write_cb)(struct GNUNET_MessageHeader *message, size_t msg_length)
Callback function to write messages from the helper process running on a netjail node to the master p...
struct GNUNET_TESTING_BarrierList *(* GNUNET_TESTING_PLUGIN_GET_WAITING_FOR_BARRIERS)(void)
This function returns a struct GNUNET_TESTING_BarrierList, which is a list of all barriers this test ...
void(* GNUNET_TESTING_PLUGIN_ALL_PEERS_STARTED)()
DEPRECATED The helper process received a message of type GNUNET_MESSAGE_TYPE_CMDS_HELPER_ALL_PEERS_ST...
struct GNUNET_TESTING_Interpreter *(* GNUNET_TESTING_PLUGIN_StartTestCase)(GNUNET_TESTING_cmd_helper_write_cb write_message, const char *router_ip, const char *node_ip, const char *n, const char *m, const char *local_m, const char *topology_data, unsigned int *read_file, GNUNET_TESTING_cmd_helper_finish_cb finish_cb)
Function to be implemented for each test case plugin which starts the test case on a netjail node.
void(* GNUNET_TESTING_PLUGIN_ALL_LOCAL_TESTS_PREPARED)()
DEPRECATED The helper process received a message of type GNUNET_MESSAGE_TYPE_CMDS_HELPER_ALL_LOCAL_TE...
enum GNUNET_GenericReturnValue read_file(char const *const filename, char **buffer)
A list to hold barriers provided by plugins.
Global state of the interpreter, used by a command to access information about other commands.
The plugin API every test case plugin has to implement.
GNUNET_TESTING_PLUGIN_ALL_LOCAL_TESTS_PREPARED all_local_tests_prepared
GNUNET_TESTING_PLUGIN_ALL_PEERS_STARTED all_peers_started
GNUNET_TESTING_PLUGIN_GET_WAITING_FOR_BARRIERS get_waiting_for_barriers
GNUNET_TESTING_PLUGIN_StartTestCase start_testcase