GNUnet 0.22.0
gnunet_testing_testbed_lib.h
Go to the documentation of this file.
1#ifndef GNUNET_TESTING_TESTBED_LIB_H
2#define GNUNET_TESTING_TESTBED_LIB_H
3
6
17 const char *create_label);
18
29 const char *my_node_id);
30
31
35#define GNUNET_TESTING_TESTBED_SIMPLE_TRAITS(op, prefix) \
36 op (prefix, test_system, struct GNUNET_TESTBED_System)
37
38
40 GNUNET_TESTING_TESTBED)
41
42
43#endif
static const char * my_node_id
#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.
#define GNUNET_TESTING_TESTBED_SIMPLE_TRAITS(op, prefix)
Call op on all simple traits.
struct GNUNET_TESTING_Command GNUNET_TESTBED_cmd_system_create(const char *label, const char *my_node_id)
This command is setting up a test environment for a peer to start.
struct GNUNET_TESTING_Command GNUNET_TESTBED_cmd_system_destroy(const char *label, const char *create_label)
This command destroys the resources allocated for the test system setup.
A command to be run by the interpreter.
struct GNUNET_TESTING_CommandLabel label
Label for the command.