Go to the source code of this file.
Functions | |
bool | GNUNET_TESTING_cmd_is_batch_ (const struct GNUNET_TESTING_Command *cmd) |
Test if this command is a batch command. More... | |
bool | GNUNET_TESTING_cmd_batch_next_ (void *cls) |
Advance internal pointer to next command. More... | |
struct GNUNET_TESTING_Command * | GNUNET_TESTING_cmd_batch_get_current_ (const struct GNUNET_TESTING_Command *cmd) |
Obtain what command the batch is at. More... | |
void | GNUNET_TESTING_cmd_batch_set_current_ (const struct GNUNET_TESTING_Command *cmd, unsigned int new_ip) |
Set what command the batch should be at. More... | |
Definition in file testing_api_cmd_batch.h.
bool GNUNET_TESTING_cmd_is_batch_ | ( | const struct GNUNET_TESTING_Command * | cmd | ) |
Test if this command is a batch command.
Definition at line 203 of file testing_api_cmd_batch.c.
References batch_run(), and GNUNET_TESTING_Command::run.
Referenced by do_stat(), GNUNET_TESTING_cmd_batch_get_current_(), GNUNET_TESTING_cmd_batch_next_(), GNUNET_TESTING_interpreter_fail(), GNUNET_TESTING_interpreter_lookup_command(), GNUNET_TESTING_interpreter_next_(), GNUNET_TESTING_interpreter_run_cmd_(), rewind_ip_run(), and seek_batch().
bool GNUNET_TESTING_cmd_batch_next_ | ( | void * | cls | ) |
Advance internal pointer to next command.
cls | batch internal state |
Definition at line 178 of file testing_api_cmd_batch.c.
References BatchState::batch, BatchState::batch_ip, GNUNET_TESTING_Command::cls, GNUNET_TESTING_Command::finish_time, GNUNET_TESTING_cmd_batch_next_(), GNUNET_TESTING_cmd_is_batch_(), GNUNET_TIME_absolute_get(), and GNUNET_TESTING_Command::run.
Referenced by GNUNET_TESTING_cmd_batch_next_(), and GNUNET_TESTING_interpreter_next_().
struct GNUNET_TESTING_Command * GNUNET_TESTING_cmd_batch_get_current_ | ( | const struct GNUNET_TESTING_Command * | cmd | ) |
Obtain what command the batch is at.
Definition at line 210 of file testing_api_cmd_batch.c.
References BatchState::batch, BatchState::batch_ip, GNUNET_TESTING_Command::cls, GNUNET_assert, and GNUNET_TESTING_cmd_is_batch_().
void GNUNET_TESTING_cmd_batch_set_current_ | ( | const struct GNUNET_TESTING_Command * | cmd, |
unsigned int | new_ip | ||
) |
Set what command the batch should be at.
cmd | current batch command |
new_ip | where to move the IP |
Definition at line 220 of file testing_api_cmd_batch.c.
References BatchState::batch, BatchState::batch_ip, batch_run(), GNUNET_TESTING_Command::cls, GNUNET_assert, and GNUNET_TESTING_Command::run.
Referenced by seek_batch().