Handle to an operation. More...
Data Fields | |
GNUNET_SETI_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_SETI_Handle * | set |
Local set used for the operation, NULL if no set has been provided by conclude yet. More... | |
struct GNUNET_MQ_Envelope * | conclude_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_SETI_OperationHandle * | prev |
Handles are kept in a linked list. More... | |
struct GNUNET_SETI_OperationHandle * | next |
Handles are kept in a linked list. More... | |
uint32_t | request_id |
Request ID to identify the operation within the set. More... | |
int | return_intersection |
Should we return the resulting intersection (ADD) or the elements to remove (DEL)? More... | |
Handle to an operation.
Only known to the service after committing the handle with a set.
Definition at line 105 of file seti_api.c.
GNUNET_SETI_ResultIterator GNUNET_SETI_OperationHandle::result_cb |
Function to be called when we have a result, or an error.
Definition at line 111 of file seti_api.c.
Referenced by GNUNET_SETI_accept(), GNUNET_SETI_prepare(), handle_client_set_error(), and handle_result().
void* GNUNET_SETI_OperationHandle::result_cls |
Closure for result_cb.
Definition at line 116 of file seti_api.c.
Referenced by GNUNET_SETI_accept(), GNUNET_SETI_prepare(), handle_client_set_error(), and handle_result().
struct GNUNET_SETI_Handle* GNUNET_SETI_OperationHandle::set |
Local set used for the operation, NULL if no set has been provided by conclude yet.
Definition at line 122 of file seti_api.c.
Referenced by GNUNET_SETI_commit(), GNUNET_SETI_operation_cancel(), and set_operation_destroy().
struct GNUNET_MQ_Envelope* GNUNET_SETI_OperationHandle::conclude_mqm |
Message sent to the server on calling conclude, NULL if conclude has been called.
Definition at line 128 of file seti_api.c.
Referenced by GNUNET_SETI_accept(), GNUNET_SETI_commit(), GNUNET_SETI_prepare(), and set_operation_destroy().
uint32_t* GNUNET_SETI_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 134 of file seti_api.c.
Referenced by GNUNET_SETI_accept(), GNUNET_SETI_commit(), and GNUNET_SETI_prepare().
struct GNUNET_SETI_OperationHandle* GNUNET_SETI_OperationHandle::prev |
Handles are kept in a linked list.
Definition at line 139 of file seti_api.c.
struct GNUNET_SETI_OperationHandle* GNUNET_SETI_OperationHandle::next |
Handles are kept in a linked list.
Definition at line 144 of file seti_api.c.
uint32_t GNUNET_SETI_OperationHandle::request_id |
Request ID to identify the operation within the set.
Definition at line 149 of file seti_api.c.
Referenced by GNUNET_SETI_commit(), GNUNET_SETI_operation_cancel(), and set_operation_destroy().
int GNUNET_SETI_OperationHandle::return_intersection |
Should we return the resulting intersection (ADD) or the elements to remove (DEL)?
Definition at line 155 of file seti_api.c.
Referenced by GNUNET_SETI_accept().