Message formats for communication between testing cmds helper and testcase plugins. More...
#include "gnunet_common.h"
Go to the source code of this file.
Data Structures | |
struct | GNUNET_TESTING_CommandHelperInit |
Initialization message for gnunet-cmds-testbed to start cmd binary. More... | |
struct | GNUNET_TESTING_CommandHelperReply |
Reply message from cmds helper process. More... | |
struct | GNUNET_TESTING_CommandPeerStarted |
struct | GNUNET_TESTING_CommandAllPeersStarted |
struct | GNUNET_TESTING_CommandLocalFinished |
struct | GNUNET_TESTING_CommandLocalTestPrepared |
struct | GNUNET_TESTING_CommandAllLocalTestsPrepared |
Macros | |
#define | HELPER_CMDS_BINARY "gnunet-cmds-helper" |
Functions | |
struct GNUNET_TESTING_Command * | GNUNET_TESTING_interpreter_get_current_command (struct GNUNET_TESTING_Interpreter *is) |
Returns the actual running command. More... | |
void | GNUNET_TESTING_add_netjail_helper (struct GNUNET_TESTING_Interpreter *is, const struct GNUNET_HELPER_Handle *helper) |
Adding a helper handle to the interpreter. More... | |
Message formats for communication between testing cmds helper and testcase plugins.
Definition in file testing_cmds.h.
#define HELPER_CMDS_BINARY "gnunet-cmds-helper" |
Definition at line 30 of file testing_cmds.h.
struct GNUNET_TESTING_Command* GNUNET_TESTING_interpreter_get_current_command | ( | struct GNUNET_TESTING_Interpreter * | is | ) |
Returns the actual running command.
is | Global state of the interpreter, used by a command to access information about other commands. |
Definition at line 454 of file testing_api_loop.c.
References GNUNET_TESTING_Interpreter::commands, GNUNET_TESTING_Interpreter::ip, and is.
Referenced by barrier_reached_run(), block_until_all_peers_started_run(), and do_timeout().
void GNUNET_TESTING_add_netjail_helper | ( | struct GNUNET_TESTING_Interpreter * | is, |
const struct GNUNET_HELPER_Handle * | helper | ||
) |
Adding a helper handle to the interpreter.
is | The interpreter. |
helper | The helper handle. |
Definition at line 727 of file testing_api_loop.c.
References GNUNET_array_append, GNUNET_TESTING_Interpreter::helper, is, and GNUNET_TESTING_Interpreter::n_helper.
Referenced by start_helper().