Handle to an operation. More...
Data Fields | |
| GNUNET_SETU_ResultIterator | result_cb |
| Function to be called when we have a result, or an error. | |
| void * | result_cls |
| Closure for result_cb. | |
| struct GNUNET_SETU_Handle * | set |
| Local set used for the operation, NULL if no set has been provided by conclude yet. | |
| struct GNUNET_MQ_Envelope * | conclude_mqm |
| Message sent to the server on calling conclude, NULL if conclude has been called. | |
| 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. | |
| struct GNUNET_SETU_OperationHandle * | prev |
| Handles are kept in a linked list. | |
| struct GNUNET_SETU_OperationHandle * | next |
| Handles are kept in a linked list. | |
| uint32_t | request_id |
| Request ID to identify the operation within the set. | |
Handle to an operation.
Only known to the service after committing the handle with a set.
Definition at line 94 of file setu_api.c.
| GNUNET_SETU_ResultIterator GNUNET_SETU_OperationHandle::result_cb |
Function to be called when we have a result, or an error.
Definition at line 100 of file setu_api.c.
Referenced by GNUNET_SETU_accept(), GNUNET_SETU_prepare(), handle_client_set_error(), and handle_result().
| void* GNUNET_SETU_OperationHandle::result_cls |
Closure for result_cb.
Definition at line 105 of file setu_api.c.
Referenced by GNUNET_SETU_accept(), GNUNET_SETU_prepare(), handle_client_set_error(), and handle_result().
| struct GNUNET_SETU_Handle* GNUNET_SETU_OperationHandle::set |
Local set used for the operation, NULL if no set has been provided by conclude yet.
Definition at line 111 of file setu_api.c.
Referenced by GNUNET_SETU_commit(), GNUNET_SETU_operation_cancel(), and set_operation_destroy().
| struct GNUNET_MQ_Envelope* GNUNET_SETU_OperationHandle::conclude_mqm |
Message sent to the server on calling conclude, NULL if conclude has been called.
Definition at line 117 of file setu_api.c.
Referenced by GNUNET_SETU_accept(), GNUNET_SETU_commit(), GNUNET_SETU_prepare(), and set_operation_destroy().
| uint32_t* GNUNET_SETU_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 123 of file setu_api.c.
Referenced by GNUNET_SETU_accept(), GNUNET_SETU_commit(), and GNUNET_SETU_prepare().
| struct GNUNET_SETU_OperationHandle* GNUNET_SETU_OperationHandle::prev |
Handles are kept in a linked list.
Definition at line 128 of file setu_api.c.
| struct GNUNET_SETU_OperationHandle* GNUNET_SETU_OperationHandle::next |
Handles are kept in a linked list.
Definition at line 133 of file setu_api.c.
| uint32_t GNUNET_SETU_OperationHandle::request_id |
Request ID to identify the operation within the set.
Definition at line 138 of file setu_api.c.
Referenced by GNUNET_SETU_commit(), GNUNET_SETU_operation_cancel(), and set_operation_destroy().