commonly used definitions; globals in this file are exempt from the rule that the module name ("commo...
#define GNUNET_NETWORK_STRUCT_BEGIN
Define as empty, GNUNET_PACKED should suffice, but this won't work on W32.
#define GNUNET_NETWORK_STRUCT_END
Define as empty, GNUNET_PACKED should suffice, but this won't work on W32;.
#define GNUNET_PACKED
gcc-ism to get packed structs.
The identity of the host (wraps the signing key of the peer).
Message sent by a listening client to the service to accept performing the operation with the other p...
uint32_t request_id
Request ID to identify responses.
uint32_t return_intersection
Return the intersection (1), instead of the elements to remove / the delta (0), in NBO.
struct GNUNET_MessageHeader header
Type: GNUNET_MESSAGE_TYPE_SETI_ACCEPT.
uint32_t accept_reject_id
ID of the incoming request we want to accept.
Sent to the service by the client in order to cancel a set operation.
struct GNUNET_MessageHeader header
Type: GNUNET_MESSAGE_TYPE_SETI_CANCEL.
uint32_t request_id
ID of the request we want to cancel.
Message sent by the client to the service to ask starting a new set to perform operations with.
struct GNUNET_MessageHeader header
Type: GNUNET_MESSAGE_TYPE_SETI_CREATE.
Message sent by client to the service to add an element to the set.
struct GNUNET_MessageHeader header
Type: GNUNET_MESSAGE_TYPE_SETI_ADD.
uint16_t element_type
Type of the element to add or remove.
uint16_t reserved
For alignment, always zero.
Message sent by client to service to initiate a set operation as a client (not as listener).
struct GNUNET_HashCode app_id
Application id.
uint32_t request_id
Id of our set to evaluate, chosen implicitly by the client when it calls GNUNET_SETI_commit().
uint32_t return_intersection
Return the intersection (1), instead of the elements to remove / the delta (0), in NBO.
struct GNUNET_MessageHeader header
Type: GNUNET_MESSAGE_TYPE_SETI_EVALUATE.
struct GNUNET_PeerIdentity target_peer
Peer to evaluate the operation with.
Message sent by the client to the service to start listening for incoming requests to perform a certa...
struct GNUNET_MessageHeader header
Type: GNUNET_MESSAGE_TYPE_SETI_LISTEN.
uint32_t operation
Operation type, values of enum GNUNET_SETI_OperationType
struct GNUNET_HashCode app_id
application id
Message sent by a listening client to the service to reject performing the operation with the other p...
struct GNUNET_MessageHeader header
Type: GNUNET_MESSAGE_TYPE_SETI_REJECT.
uint32_t accept_reject_id
ID of the incoming request we want to reject.
A request for an operation with another client.
struct GNUNET_PeerIdentity peer_id
Identity of the requesting peer.
uint32_t accept_id
ID of the to identify the request when accepting or rejecting it.
struct GNUNET_MessageHeader header
Type: GNUNET_MESSAGE_TYPE_SETI_REQUEST.
Message sent by the service to the client to indicate an element that is removed (set intersection) o...
uint32_t request_id
id the result belongs to
uint64_t current_size
Current set size.
struct GNUNET_MessageHeader header
Type: GNUNET_MESSAGE_TYPE_SETI_RESULT.
uint16_t element_type
Type of the element attached to the message, if any.
uint16_t result_status
Was the evaluation successful? Contains an enum GNUNET_SETI_Status in NBO.