State each asynchronous command must have in its closure. More...
#include <gnunet_testing_lib.h>
Data Fields | |
struct GNUNET_TESTING_Interpreter * | is |
Interpreter we are part of. More... | |
GNUNET_SCHEDULER_TaskCallback | notify_finished |
Function to call when async operation is done. More... | |
void * | notify_finished_cls |
Closure for notify_finished. More... | |
enum GNUNET_GenericReturnValue | finished |
Indication if the command finished (GNUNET_OK). More... | |
bool | next_called |
Set to true if interpreter_next() has already been called for this command. More... | |
State each asynchronous command must have in its closure.
Definition at line 80 of file gnunet_testing_lib.h.
struct GNUNET_TESTING_Interpreter* GNUNET_TESTING_AsyncContext::is |
Interpreter we are part of.
Initialized when the global interpreter starts.
Definition at line 87 of file gnunet_testing_lib.h.
Referenced by GNUNET_TESTING_async_fail(), GNUNET_TESTING_async_finish(), GNUNET_TESTING_interpreter_run_cmd_(), and notify_connect().
GNUNET_SCHEDULER_TaskCallback GNUNET_TESTING_AsyncContext::notify_finished |
Function to call when async operation is done.
Definition at line 92 of file gnunet_testing_lib.h.
Referenced by GNUNET_TESTING_async_finish(), and run_finish().
void* GNUNET_TESTING_AsyncContext::notify_finished_cls |
Closure for notify_finished.
Definition at line 97 of file gnunet_testing_lib.h.
Referenced by GNUNET_TESTING_async_finish(), and run_finish().
enum GNUNET_GenericReturnValue GNUNET_TESTING_AsyncContext::finished |
Indication if the command finished (GNUNET_OK).
GNUNET_NO if it did not finish, GNUNET_SYSERR if it failed.
Definition at line 104 of file gnunet_testing_lib.h.
Referenced by conn_status(), GNUNET_TESTING_async_fail(), GNUNET_TESTING_async_finish(), GNUNET_TESTING_interpreter_run_cmd_(), and run_finish().
bool GNUNET_TESTING_AsyncContext::next_called |
Set to true if interpreter_next() has already been called for this command.
Definition at line 110 of file gnunet_testing_lib.h.
Referenced by GNUNET_TESTING_async_finish(), and GNUNET_TESTING_interpreter_run_cmd_().