GNUnet 0.22.2
GNUNET_ARM_Operation Struct Reference

Entry in a doubly-linked list of operations awaiting for replies (in-order) from the ARM service. More...

Collaboration diagram for GNUNET_ARM_Operation:
[legend]

Data Fields

struct GNUNET_ARM_Operationnext
 This is a doubly-linked list. More...
 
struct GNUNET_ARM_Operationprev
 This is a doubly-linked list. More...
 
struct GNUNET_ARM_Handleh
 ARM handle. More...
 
GNUNET_ARM_ResultCallback result_cont
 Callback for service state change requests. More...
 
GNUNET_ARM_ServiceListCallback list_cont
 Callback for service list requests. More...
 
void * cont_cls
 Closure for result_cont or list_cont. More...
 
struct GNUNET_SCHEDULER_Taskasync
 Task for async completion. More...
 
uint64_t id
 Unique ID for the request. More...
 
enum GNUNET_ARM_Result starting_ret
 Result of this operation for notify_starting(). More...
 
struct GNUNET_DISK_FileHandlerfd
 File descriptor to close on operation stop, if not NULL. More...
 
int is_arm_stop
 Is this an operation to stop the ARM service? More...
 

Detailed Description

Entry in a doubly-linked list of operations awaiting for replies (in-order) from the ARM service.

Definition at line 40 of file arm_api.c.

Field Documentation

◆ next

◆ prev

struct GNUNET_ARM_Operation* GNUNET_ARM_Operation::prev

This is a doubly-linked list.

Definition at line 50 of file arm_api.c.

◆ h

◆ result_cont

◆ list_cont

GNUNET_ARM_ServiceListCallback GNUNET_ARM_Operation::list_cont

Callback for service list requests.

Definition at line 65 of file arm_api.c.

Referenced by GNUNET_ARM_disconnect(), GNUNET_ARM_request_service_list(), handle_arm_list_result(), and reconnect_arm_later().

◆ cont_cls

◆ async

struct GNUNET_SCHEDULER_Task* GNUNET_ARM_Operation::async

◆ id

uint64_t GNUNET_ARM_Operation::id

Unique ID for the request.

Definition at line 80 of file arm_api.c.

Referenced by change_service(), and GNUNET_ARM_request_service_list().

◆ starting_ret

enum GNUNET_ARM_Result GNUNET_ARM_Operation::starting_ret

Result of this operation for notify_starting().

Definition at line 85 of file arm_api.c.

Referenced by GNUNET_ARM_request_service_start(), and notify_starting().

◆ rfd

struct GNUNET_DISK_FileHandle* GNUNET_ARM_Operation::rfd

File descriptor to close on operation stop, if not NULL.

Definition at line 90 of file arm_api.c.

Referenced by GNUNET_ARM_operation_cancel(), GNUNET_ARM_request_service_start(), and notify_starting().

◆ is_arm_stop

int GNUNET_ARM_Operation::is_arm_stop

Is this an operation to stop the ARM service?

Definition at line 95 of file arm_api.c.

Referenced by GNUNET_ARM_request_service_stop(), and handle_arm_result().


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