GNUnet 0.22.2
GNUNET_SET_ResultMessage Struct Reference

Message sent by the service to the client to indicate an element that is removed (set intersection) or added (set union) or part of the final result, depending on options specified for the operation. More...

#include </home/buildbot/bb-worker/worker/gnunet_firefly/build/src/contrib/service/set/set.h>

Collaboration diagram for GNUNET_SET_ResultMessage:
[legend]

Data Fields

struct GNUNET_MessageHeader header
 Type: GNUNET_MESSAGE_TYPE_SET_RESULT. More...
 
uint64_t current_size
 Current set size. More...
 
uint32_t request_id
 id the result belongs to More...
 
uint16_t result_status
 Was the evaluation successful? Contains an enum GNUNET_SET_Status in NBO. More...
 
uint16_t element_type
 Type of the element attached to the message, if any. More...
 

Detailed Description

Message sent by the service to the client to indicate an element that is removed (set intersection) or added (set union) or part of the final result, depending on options specified for the operation.

Definition at line 244 of file set.h.

Field Documentation

◆ header

struct GNUNET_MessageHeader GNUNET_SET_ResultMessage::header

Type: GNUNET_MESSAGE_TYPE_SET_RESULT.

Definition at line 249 of file set.h.

◆ current_size

uint64_t GNUNET_SET_ResultMessage::current_size

Current set size.

Definition at line 254 of file set.h.

Referenced by send_client_done(), and send_client_element().

◆ request_id

uint32_t GNUNET_SET_ResultMessage::request_id

◆ result_status

uint16_t GNUNET_SET_ResultMessage::result_status

Was the evaluation successful? Contains an enum GNUNET_SET_Status in NBO.

Definition at line 265 of file set.h.

Referenced by handle_client_accept(), handle_result(), send_client_done(), send_client_done_and_destroy(), send_client_element(), send_client_removed_element(), and send_remaining_elements().

◆ element_type

uint16_t GNUNET_SET_ResultMessage::element_type

Type of the element attached to the message, if any.

Definition at line 270 of file set.h.

Referenced by send_client_done(), send_client_done_and_destroy(), send_client_element(), send_client_removed_element(), and send_remaining_elements().


The documentation for this struct was generated from the following file: