Opaque handle to a set. More...
Data Fields | |
struct GNUNET_MQ_Handle * | mq |
Message queue for client. More... | |
struct GNUNET_SET_OperationHandle * | ops_head |
Linked list of operations on the set. More... | |
struct GNUNET_SET_OperationHandle * | ops_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_Handle * | cfg |
Configuration, needed when creating (lazy) copies. More... | |
struct SetCopyRequest * | copy_req_head |
Doubly linked list of copy requests. More... | |
struct SetCopyRequest * | copy_req_tail |
Doubly linked list of copy requests. More... | |
struct GNUNET_MQ_Handle* GNUNET_SET_Handle::mq |
Message queue for client.
Definition at line 54 of file set_api.c.
Referenced by create_internal(), GNUNET_SET_add_element(), GNUNET_SET_commit(), GNUNET_SET_copy_lazy(), GNUNET_SET_destroy(), GNUNET_SET_iterate(), GNUNET_SET_operation_cancel(), GNUNET_SET_remove_element(), handle_iter_element(), handle_result(), and set_operation_destroy().
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 GNUNET_SET_commit(), GNUNET_SET_destroy(), GNUNET_SET_operation_cancel(), handle_client_set_error(), handle_result(), and set_operation_destroy().
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 GNUNET_SET_commit(), handle_result(), and set_operation_destroy().
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.
Referenced by GNUNET_SET_destroy(), GNUNET_SET_iterate(), handle_client_set_error(), handle_iter_done(), and handle_iter_element().
void* GNUNET_SET_Handle::iterator_cls |
Closure for iterator.
Definition at line 75 of file set_api.c.
Referenced by GNUNET_SET_iterate(), handle_client_set_error(), handle_iter_done(), and handle_iter_element().
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.
Referenced by GNUNET_SET_destroy(), GNUNET_SET_operation_cancel(), handle_client_set_error(), handle_iter_done(), and handle_result().
int GNUNET_SET_Handle::invalid |
Has the set become invalid (e.g.
service died)?
Definition at line 87 of file set_api.c.
Referenced by GNUNET_SET_add_element(), GNUNET_SET_commit(), GNUNET_SET_iterate(), GNUNET_SET_remove_element(), and handle_client_set_error().
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.
Referenced by handle_client_set_error(), handle_iter_done(), and handle_iter_element().
const struct GNUNET_CONFIGURATION_Handle* GNUNET_SET_Handle::cfg |
Configuration, needed when creating (lazy) copies.
Definition at line 98 of file set_api.c.
Referenced by create_internal(), and handle_copy_lazy().
struct SetCopyRequest* GNUNET_SET_Handle::copy_req_head |
Doubly linked list of copy requests.
Definition at line 103 of file set_api.c.
Referenced by GNUNET_SET_copy_lazy(), and handle_copy_lazy().
struct SetCopyRequest* GNUNET_SET_Handle::copy_req_tail |
Doubly linked list of copy requests.
Definition at line 108 of file set_api.c.
Referenced by GNUNET_SET_copy_lazy(), and handle_copy_lazy().