GNUnet  0.11.x
Data Fields
GNUNET_SET_Handle Struct Reference

Opaque handle to a set. More...

Collaboration diagram for GNUNET_SET_Handle:
[legend]

Data Fields

struct GNUNET_MQ_Handlemq
 Message queue for client. More...
 
struct GNUNET_SET_OperationHandleops_head
 Linked list of operations on the set. More...
 
struct GNUNET_SET_OperationHandleops_tail
 Linked list of operations on the set. More...
 
GNUNET_SET_ElementIterator iterator
 Callback for the current iteration over the set, NULL if no iterator is active. More...
 
void * iterator_cls
 Closure for iterator. More...
 
int destroy_requested
 Should the set be destroyed once all operations are gone? GNUNET_SYSERR if GNUNET_SET_destroy() must raise this flag, GNUNET_YES if GNUNET_SET_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...
 
const struct GNUNET_CONFIGURATION_Handlecfg
 Configuration, needed when creating (lazy) copies. More...
 
struct SetCopyRequestcopy_req_head
 Doubly linked list of copy requests. More...
 
struct SetCopyRequestcopy_req_tail
 Doubly linked list of copy requests. More...
 

Detailed Description

Opaque handle to a set.

Definition at line 49 of file set_api.c.

Field Documentation

◆ mq

struct GNUNET_MQ_Handle* GNUNET_SET_Handle::mq

Message queue for client.

Definition at line 54 of file set_api.c.

Referenced by set_operation_destroy().

◆ ops_head

struct GNUNET_SET_OperationHandle* GNUNET_SET_Handle::ops_head

Linked list of operations on the set.

Definition at line 59 of file set_api.c.

Referenced by set_operation_destroy().

◆ ops_tail

struct GNUNET_SET_OperationHandle* GNUNET_SET_Handle::ops_tail

Linked list of operations on the set.

Definition at line 64 of file set_api.c.

Referenced by set_operation_destroy().

◆ iterator

GNUNET_SET_ElementIterator GNUNET_SET_Handle::iterator

Callback for the current iteration over the set, NULL if no iterator is active.

Definition at line 70 of file set_api.c.

◆ iterator_cls

void* GNUNET_SET_Handle::iterator_cls

Closure for iterator.

Definition at line 75 of file set_api.c.

◆ destroy_requested

int GNUNET_SET_Handle::destroy_requested

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

Definition at line 82 of file set_api.c.

◆ invalid

int GNUNET_SET_Handle::invalid

Has the set become invalid (e.g.

service died)?

Definition at line 87 of file set_api.c.

◆ iteration_id

uint16_t GNUNET_SET_Handle::iteration_id

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

Definition at line 93 of file set_api.c.

◆ cfg

const struct GNUNET_CONFIGURATION_Handle* GNUNET_SET_Handle::cfg

Configuration, needed when creating (lazy) copies.

Definition at line 98 of file set_api.c.

◆ copy_req_head

struct SetCopyRequest* GNUNET_SET_Handle::copy_req_head

Doubly linked list of copy requests.

Definition at line 103 of file set_api.c.

◆ copy_req_tail

struct SetCopyRequest* GNUNET_SET_Handle::copy_req_tail

Doubly linked list of copy requests.

Definition at line 108 of file set_api.c.


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