GNUnet  0.11.x
Data Fields
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 266 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 272 of file gnunet_testing_ng_lib.h.

Referenced by exp_cb(), and interpreter_run().

◆ cont

GNUNET_SCHEDULER_TaskCallback GNUNET_TESTING_AsyncContext::cont

Function to call when done.

Definition at line 277 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 282 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 is still running, GNUNET_SYSERR if it failed.

Definition at line 282 of file gnunet_testing_ng_lib.h.

Referenced by interpreter_run(), and run_finish().


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