GNUnet  0.19.0
FinishState Struct Reference

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

Collaboration diagram for FinishState:
[legend]

Data Fields

void * cls
 Closure for all commands with command-specific context information. More...
 
const char * async_label
 Label of 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_TESTING_AsyncContext ac
 Function to call when done. More...
 
struct GNUNET_TIME_Relative timeout
 How long to wait until finish fails hard? More...
 

Detailed Description

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

Definition at line 35 of file testing_api_cmd_finish.c.

Field Documentation

◆ cls

void* FinishState::cls

Closure for all commands with command-specific context information.

Definition at line 40 of file testing_api_cmd_finish.c.

Referenced by cleanup_finish(), done_finish(), run_finish(), and timeout_finish().

◆ async_label

const char* FinishState::async_label

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

Definition at line 45 of file testing_api_cmd_finish.c.

Referenced by run_finish(), and timeout_finish().

◆ finish_task

struct GNUNET_SCHEDULER_Task* FinishState::finish_task

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

Definition at line 50 of file testing_api_cmd_finish.c.

Referenced by cleanup_finish(), done_finish(), run_finish(), and timeout_finish().

◆ ac

struct GNUNET_TESTING_AsyncContext FinishState::ac

Function to call when done.

Definition at line 50 of file testing_api_cmd_finish.c.

Referenced by done_finish(), run_finish(), and timeout_finish().

◆ timeout

struct GNUNET_TIME_Relative FinishState::timeout

How long to wait until finish fails hard?

Definition at line 50 of file testing_api_cmd_finish.c.

Referenced by run_finish().


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