GNUnet 0.21.1
GNUNET_SETI_Handle Struct Reference

Opaque handle to a set. More...

Collaboration diagram for GNUNET_SETI_Handle:
[legend]

Data Fields

struct GNUNET_MQ_Handlemq
 Message queue for client. More...
 
struct GNUNET_SETI_OperationHandleops_head
 Linked list of operations on the set. More...
 
struct GNUNET_SETI_OperationHandleops_tail
 Linked list of operations on the set. More...
 
const struct GNUNET_CONFIGURATION_Handlecfg
 Configuration, needed when creating (lazy) copies. More...
 
int destroy_requested
 Should the set be destroyed once all operations are gone? GNUNET_SYSERR if GNUNET_SETI_destroy() must raise this flag, GNUNET_YES if GNUNET_SETI_destroy() did raise this flag. More...
 
int invalid
 Has the set become invalid (e.g. More...
 
uint16_t iteration_id
 Both client and service count the number of iterators created so far to match replies with iterators. More...
 

Detailed Description

Opaque handle to a set.

Definition at line 39 of file seti_api.c.

Field Documentation

◆ mq

◆ ops_head

struct GNUNET_SETI_OperationHandle* GNUNET_SETI_Handle::ops_head

Linked list of operations on the set.

Definition at line 49 of file seti_api.c.

Referenced by GNUNET_SETI_commit(), GNUNET_SETI_destroy(), GNUNET_SETI_operation_cancel(), handle_client_set_error(), handle_result(), and set_operation_destroy().

◆ ops_tail

struct GNUNET_SETI_OperationHandle* GNUNET_SETI_Handle::ops_tail

Linked list of operations on the set.

Definition at line 54 of file seti_api.c.

Referenced by GNUNET_SETI_commit(), handle_result(), and set_operation_destroy().

◆ cfg

const struct GNUNET_CONFIGURATION_Handle* GNUNET_SETI_Handle::cfg

Configuration, needed when creating (lazy) copies.

Definition at line 59 of file seti_api.c.

Referenced by GNUNET_SETI_create().

◆ destroy_requested

int GNUNET_SETI_Handle::destroy_requested

Should the set be destroyed once all operations are gone? GNUNET_SYSERR if GNUNET_SETI_destroy() must raise this flag, GNUNET_YES if GNUNET_SETI_destroy() did raise this flag.

Definition at line 66 of file seti_api.c.

Referenced by GNUNET_SETI_destroy(), GNUNET_SETI_operation_cancel(), handle_client_set_error(), and handle_result().

◆ invalid

int GNUNET_SETI_Handle::invalid

Has the set become invalid (e.g.

service died)?

Definition at line 71 of file seti_api.c.

Referenced by GNUNET_SETI_add_element(), GNUNET_SETI_commit(), and handle_client_set_error().

◆ iteration_id

uint16_t GNUNET_SETI_Handle::iteration_id

Both client and service count the number of iterators created so far to match replies with iterators.

Definition at line 77 of file seti_api.c.


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