GNUnet  0.20.0
GNUNET_TESTING_AsyncContext Struct Reference

State each asynchronous command must have in its closure. More...

#include <gnunet_testing_ng_lib.h>

Collaboration diagram for GNUNET_TESTING_AsyncContext:
[legend]

Data Fields

struct GNUNET_TESTING_Interpreteris
 Interpreter we are part of. More...
 
GNUNET_SCHEDULER_TaskCallback cont
 Function to call when done. More...
 
void * cont_cls
 Closure for cont. More...
 
enum GNUNET_GenericReturnValue finished
 Indication if the command finished (GNUNET_OK). More...
 

Detailed Description

State each asynchronous command must have in its closure.

Definition at line 67 of file gnunet_testing_ng_lib.h.

Field Documentation

◆ is

struct GNUNET_TESTING_Interpreter* GNUNET_TESTING_AsyncContext::is

Interpreter we are part of.

Definition at line 73 of file gnunet_testing_ng_lib.h.

Referenced by interpreter_run(), and notify_connect().

◆ cont

GNUNET_SCHEDULER_TaskCallback GNUNET_TESTING_AsyncContext::cont

Function to call when done.

Definition at line 78 of file gnunet_testing_ng_lib.h.

Referenced by interpreter_run(), and run_finish().

◆ cont_cls

void* GNUNET_TESTING_AsyncContext::cont_cls

Closure for cont.

Definition at line 83 of file gnunet_testing_ng_lib.h.

Referenced by interpreter_run(), and run_finish().

◆ finished

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 83 of file gnunet_testing_ng_lib.h.

Referenced by interpreter_run(), run_finish(), and TST_interpreter_finish_attached_cmds().


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