GNUnet  0.11.x
Data Fields
SyncState Struct Reference

Struct to use for command-specific context information closure of a command waiting for another command. More...

#include <gnunet_testing_ng_lib.h>

Collaboration diagram for SyncState:
[legend]

Data Fields

void * cls
 Closure for all commands with command-specific context information. More...
 
const struct GNUNET_TESTING_Commandasync_cmd
 The asynchronous command the synchronous command of this closure waits for. More...
 
struct GNUNET_SCHEDULER_Taskfinish_task
 Task for running the finish method of the asynchronous task the command is waiting for. More...
 
struct GNUNET_TIME_Absolute start_finish_time
 When did the execution of this commands finish function start? More...
 

Detailed Description

Struct to use for command-specific context information closure of a command waiting for another command.

Definition at line 192 of file gnunet_testing_ng_lib.h.

Field Documentation

◆ cls

void* SyncState::cls

Closure for all commands with command-specific context information.

Definition at line 197 of file gnunet_testing_ng_lib.h.

Referenced by start_finish_on_ref().

◆ async_cmd

const struct GNUNET_TESTING_Command* SyncState::async_cmd

The asynchronous command the synchronous command of this closure waits for.

Definition at line 202 of file gnunet_testing_ng_lib.h.

Referenced by GNUNET_TESTING_cmd_finish(), and start_finish_on_ref().

◆ finish_task

struct GNUNET_SCHEDULER_Task* SyncState::finish_task

Task for running the finish method of the asynchronous task the command is waiting for.

Definition at line 207 of file gnunet_testing_ng_lib.h.

Referenced by run_finish_task_sync(), and start_finish_on_ref().

◆ start_finish_time

struct GNUNET_TIME_Absolute SyncState::start_finish_time

When did the execution of this commands finish function start?

Definition at line 212 of file gnunet_testing_ng_lib.h.

Referenced by run_finish_task_sync(), and start_finish_on_ref().


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