32#define MY_CONF_PREFIX "test_transport_simple_send"
37 const char *conf_name;
41 "Getting conf for id %s\n",
47 if (0 == strcmp (
"000000", dash))
49 else if (0 == strcmp (
"000003", dash))
51 else if (0 == strcmp (
"000004", dash))
56 "Getting conf for id %s failed \n",
static const char * my_node_id
struct GNUNET_TRANSPORT_ApplicationHandle * transport
Handle to Transport service.
struct GNUNET_TESTING_Command GNUNET_TESTING_cmd_stop_peer(const char *label, const char *start_label)
Create command.
struct GNUNET_TESTING_Command GNUNET_TESTING_ARM_cmd_start_peer(const char *label, const char *system_label, const char *cfgname)
Create command.
struct GNUNET_TESTING_Command GNUNET_TESTING_cmd_exec_va(const char *label, enum GNUNET_OS_ProcessStatusType expected_type, unsigned long int expected_exit_code,...)
Command to execute a command.
#define GNUNET_TESTING_MAKE_PLUGIN(prefix, name,...)
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.
#define GNUNET_log(kind,...)
#define GNUNET_assert(cond)
Use this for fatal errors that cannot be handled.
@ GNUNET_ERROR_TYPE_ERROR
@ GNUNET_ERROR_TYPE_DEBUG
@ GNUNET_OS_PROCESS_EXITED
The process exited with a return code.
static const char * get_conf_name(const char *my_node_id)