GNUnet  0.16.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 69 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 75 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 80 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 85 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 85 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: