GNUnet  0.11.x
Data Fields
GNUNET_TESTING_Interpreter Struct Reference

Global state of the interpreter, used by a command to access information about other commands. More...

Collaboration diagram for GNUNET_TESTING_Interpreter:
[legend]

Data Fields

GNUNET_TESTING_ResultCallback rc
 Function to call with the test result. More...
 
void * rc_cls
 Closure for rc. More...
 
struct GNUNET_TESTING_Commandcommands
 Commands the interpreter will run. More...
 
struct GNUNET_SCHEDULER_Tasktask
 Interpreter task (if one is scheduled). More...
 
struct GNUNET_SCHEDULER_Taskfinal_task
 Final task that returns the result. More...
 
struct GNUNET_SCHEDULER_Tasktimeout_task
 Task run on timeout. More...
 
int ip
 Instruction pointer. More...
 
enum GNUNET_GenericReturnValue result
 Result of the testcases, GNUNET_OK on success. More...
 

Detailed Description

Global state of the interpreter, used by a command to access information about other commands.

Definition at line 37 of file testing_api_loop.c.

Field Documentation

◆ rc

GNUNET_TESTING_ResultCallback GNUNET_TESTING_Interpreter::rc

Function to call with the test result.

Definition at line 43 of file testing_api_loop.c.

Referenced by GNUNET_TESTING_run().

◆ rc_cls

void* GNUNET_TESTING_Interpreter::rc_cls

Closure for rc.

Definition at line 48 of file testing_api_loop.c.

Referenced by GNUNET_TESTING_run().

◆ commands

struct GNUNET_TESTING_Command* GNUNET_TESTING_Interpreter::commands

Commands the interpreter will run.

Definition at line 53 of file testing_api_loop.c.

◆ task

struct GNUNET_SCHEDULER_Task* GNUNET_TESTING_Interpreter::task

Interpreter task (if one is scheduled).

Definition at line 58 of file testing_api_loop.c.

◆ final_task

struct GNUNET_SCHEDULER_Task* GNUNET_TESTING_Interpreter::final_task

Final task that returns the result.

Definition at line 63 of file testing_api_loop.c.

◆ timeout_task

struct GNUNET_SCHEDULER_Task* GNUNET_TESTING_Interpreter::timeout_task

Task run on timeout.

Definition at line 68 of file testing_api_loop.c.

◆ ip

int GNUNET_TESTING_Interpreter::ip

Instruction pointer.

Tells interpreter_run() which instruction to run next. Need (signed) int because it gets -1 when rewinding the interpreter to the first CMD.

Definition at line 75 of file testing_api_loop.c.

◆ result

enum GNUNET_GenericReturnValue GNUNET_TESTING_Interpreter::result

The documentation for this struct was generated from the following file: