25#ifndef GNUNET_CORE_TESTING_LIB_H
26#define GNUNET_CORE_TESTING_LIB_H
139 const char *start_peer_label,
140 const char *create_label,
144 unsigned int wait_for_connect,
151#define GNUNET_CORE_TESTING_SIMPLE_TRAITS(op, prefix) \
152 op (prefix, connect_peer_state, const struct GNUNET_TESTING_ConnectPeersState)
struct GNUNET_MQ_MessageHandlers handlers[]
struct GNUNET_TESTING_Command GNUNET_CORE_cmd_connect_peers(const char *label, const char *start_peer_label, const char *create_label, uint32_t num, struct GNUNET_TESTING_NetjailTopology *topology, unsigned int additional_connects, unsigned int wait_for_connect, struct GNUNET_MQ_MessageHandler *handlers)
FIXME: document properly! Create command.
#define GNUNET_CORE_TESTING_SIMPLE_TRAITS(op, prefix)
Call op on all simple traits.
#define GNUNET_TESTING_MAKE_DECL_SIMPLE_TRAIT(prefix, name, type)
Create headers for a trait with name name for statically allocated data of type type.
Internal representation of the hash map.
Message handler for a specific message type.
State each asynchronous command must have in its closure.
A command to be run by the interpreter.
struct GNUNET_TESTING_CommandLabel label
Label for the command.
Global state of the interpreter, used by a command to access information about other commands.
Toplogy of our netjail setup.
unsigned int additional_connects
Additional connects we do expect, beside the connects which are configured in the topology.
Connection to another node.
Handle for a system on which GNUnet peers are executed; a system is used for reserving unique paths a...
Handle to the TRANSPORT subsystem for application management.
Handle for the transport service (includes all of the state for the transport service).