93 GNUNET_TESTING_get_trait_XXX (other_cmd,
static int ret
Return value of the commandline.
struct GNUNET_TESTING_Interpreter * is
uint32_t data
The data value.
void GNUNET_TESTING_async_finish(struct GNUNET_TESTING_AsyncContext *ac)
The asynchronous command of ac has finished.
const struct GNUNET_TESTING_Command * GNUNET_TESTING_interpreter_lookup_command(struct GNUNET_TESTING_Interpreter *is, const char *label)
Lookup command by label.
#define GNUNET_TESTING_CMD_MAX_LABEL_LENGTH
API for writing an interpreter to test GNUnet components.
GNUNET_GenericReturnValue
Named constants for return values.
#define GNUNET_new(type)
Allocate a struct or union of the given type.
#define GNUNET_free(ptr)
Wrapper around free.
State each asynchronous command must have in its closure.
A command to be run by the interpreter.
char label[127+1]
Label for the command.
void * cls
Closure for all commands with command-specific context information.
Global state of the interpreter, used by a command to access information about other commands.
State for the 'send' command.
struct GNUNET_TESTING_AsyncContext ac
Mandatory context for async commands.
static void send_cleanup(void *cls)
struct GNUNET_TESTING_Command GNUNET_TESTING_DHTU_cmd_send(const char *label)
static void send_run(void *cls, struct GNUNET_TESTING_Interpreter *is)
Run the 'send' command.
static enum GNUNET_GenericReturnValue send_traits(void *cls, const void **ret, const char *trait, unsigned int index)
Return trains of the send command.