GNUnet 0.21.1
GNUNET_SET_OperationHandle Struct Reference

Handle to an operation. More...

Collaboration diagram for GNUNET_SET_OperationHandle:
[legend]

Data Fields

GNUNET_SET_ResultIterator result_cb
 Function to be called when we have a result, or an error. More...
 
void * result_cls
 Closure for result_cb. More...
 
struct GNUNET_SET_Handleset
 Local set used for the operation, NULL if no set has been provided by conclude yet. More...
 
struct GNUNET_MQ_Envelopeconclude_mqm
 Message sent to the server on calling conclude, NULL if conclude has been called. More...
 
uint32_t * request_id_addr
 Address of the request if in the conclude message, used to patch the request id into the message when the set is known. More...
 
struct GNUNET_SET_OperationHandleprev
 Handles are kept in a linked list. More...
 
struct GNUNET_SET_OperationHandlenext
 Handles are kept in a linked list. More...
 
uint32_t request_id
 Request ID to identify the operation within the set. More...
 

Detailed Description

Handle to an operation.

Only known to the service after committing the handle with a set.

Definition at line 135 of file set_api.c.

Field Documentation

◆ result_cb

GNUNET_SET_ResultIterator GNUNET_SET_OperationHandle::result_cb

Function to be called when we have a result, or an error.

Definition at line 141 of file set_api.c.

Referenced by GNUNET_SET_accept(), GNUNET_SET_prepare(), handle_client_set_error(), and handle_result().

◆ result_cls

void* GNUNET_SET_OperationHandle::result_cls

Closure for result_cb.

Definition at line 146 of file set_api.c.

Referenced by GNUNET_SET_accept(), GNUNET_SET_prepare(), handle_client_set_error(), and handle_result().

◆ set

struct GNUNET_SET_Handle* GNUNET_SET_OperationHandle::set

Local set used for the operation, NULL if no set has been provided by conclude yet.

Definition at line 152 of file set_api.c.

Referenced by GNUNET_SET_commit(), GNUNET_SET_operation_cancel(), and set_operation_destroy().

◆ conclude_mqm

struct GNUNET_MQ_Envelope* GNUNET_SET_OperationHandle::conclude_mqm

Message sent to the server on calling conclude, NULL if conclude has been called.

Definition at line 158 of file set_api.c.

Referenced by GNUNET_SET_accept(), GNUNET_SET_commit(), GNUNET_SET_prepare(), and set_operation_destroy().

◆ request_id_addr

uint32_t* GNUNET_SET_OperationHandle::request_id_addr

Address of the request if in the conclude message, used to patch the request id into the message when the set is known.

Definition at line 164 of file set_api.c.

Referenced by GNUNET_SET_accept(), GNUNET_SET_commit(), and GNUNET_SET_prepare().

◆ prev

struct GNUNET_SET_OperationHandle* GNUNET_SET_OperationHandle::prev

Handles are kept in a linked list.

Definition at line 169 of file set_api.c.

◆ next

struct GNUNET_SET_OperationHandle* GNUNET_SET_OperationHandle::next

Handles are kept in a linked list.

Definition at line 174 of file set_api.c.

◆ request_id

uint32_t GNUNET_SET_OperationHandle::request_id

Request ID to identify the operation within the set.

Definition at line 179 of file set_api.c.

Referenced by GNUNET_SET_commit(), GNUNET_SET_operation_cancel(), and set_operation_destroy().


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