|
| struct GNUNET_SETI_Handle * | GNUNET_SETI_create (const struct GNUNET_CONFIGURATION_Handle *cfg) |
| | Create an empty set, supporting the specified operation.
|
| |
| int | GNUNET_SETI_add_element (struct GNUNET_SETI_Handle *set, const struct GNUNET_SETI_Element *element, GNUNET_SCHEDULER_TaskCallback cb, void *cb_cls) |
| | Add an element to the given set.
|
| |
| void | GNUNET_SETI_destroy (struct GNUNET_SETI_Handle *set) |
| | Destroy the set handle, and free all associated resources.
|
| |
| struct GNUNET_SETI_OperationHandle * | GNUNET_SETI_prepare (const struct GNUNET_PeerIdentity *other_peer, const struct GNUNET_HashCode *app_id, const struct GNUNET_MessageHeader *context_msg, const struct GNUNET_SETI_Option options[], GNUNET_SETI_ResultIterator result_cb, void *result_cls) |
| | Prepare a set operation to be evaluated with another peer.
|
| |
| struct GNUNET_SETI_ListenHandle * | GNUNET_SETI_listen (const struct GNUNET_CONFIGURATION_Handle *cfg, const struct GNUNET_HashCode *app_id, GNUNET_SETI_ListenCallback listen_cb, void *listen_cls) |
| | Wait for set operation requests for the given application ID.
|
| |
| void | GNUNET_SETI_listen_cancel (struct GNUNET_SETI_ListenHandle *lh) |
| | Cancel the given listen operation.
|
| |
| struct GNUNET_SETI_OperationHandle * | GNUNET_SETI_accept (struct GNUNET_SETI_Request *request, const struct GNUNET_SETI_Option options[], GNUNET_SETI_ResultIterator result_cb, void *result_cls) |
| | Accept a request we got via GNUNET_SETI_listen().
|
| |
| int | GNUNET_SETI_commit (struct GNUNET_SETI_OperationHandle *oh, struct GNUNET_SETI_Handle *set) |
| | Commit a set to be used with a set operation.
|
| |
| void | GNUNET_SETI_operation_cancel (struct GNUNET_SETI_OperationHandle *oh) |
| | Cancel the given set operation.
|
| |
| void | GNUNET_SETI_element_hash (const struct GNUNET_SETI_Element *element, struct GNUNET_HashCode *ret_hash) |
| | Hash a set element.
|
| |
Two-peer set intersection operations.
Definition in file gnunet_seti_service.h.