GNUnet 0.22.2
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...
 
GNUNET_SCHEDULER_TaskCallback old_notify
 Function to call when async operation is done. More...
 
void * old_notify_cls
 Closure for notify_finished. 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 34 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 39 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 GNUNET_TESTING_cmd_finish(), run_finish(), and timeout_finish().

◆ old_notify

GNUNET_SCHEDULER_TaskCallback FinishState::old_notify

Function to call when async operation is done.

Definition at line 50 of file testing_api_cmd_finish.c.

Referenced by done_finish(), and run_finish().

◆ old_notify_cls

void* FinishState::old_notify_cls

Closure for notify_finished.

Definition at line 55 of file testing_api_cmd_finish.c.

Referenced by done_finish(), and run_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 61 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 66 of file testing_api_cmd_finish.c.

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

◆ timeout

struct GNUNET_TIME_Relative FinishState::timeout

How long to wait until finish fails hard?

Definition at line 71 of file testing_api_cmd_finish.c.

Referenced by GNUNET_TESTING_cmd_finish(), and run_finish().


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