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.
struct GNUNET_MessageHeader header
Type: Either GNUNET_MESSAGE_TYPE_CONSENSUS_CLIENT_RECEIVED_ELEMENT or GNUNET_MESSAGE_TYPE_CONSENSUS_C...
uint16_t element_type
Type: GNUNET_MESSAGE_TYPE_CONSENSUS_CLIENT_NEW_ELEMENT.
Sent by the client to the service, when the client wants the service to join a consensus session.
struct GNUNET_HashCode session_id
Session id of the consensus.
struct GNUNET_TIME_AbsoluteNBO deadline
Deadline for conclude.
struct GNUNET_MessageHeader header
Type: GNUNET_MESSAGE_TYPE_CONSENSUS_CLIENT_JOIN.
uint32_t num_peers
Number of peers (at the end of this message) that want to participate in the consensus.
struct GNUNET_TIME_AbsoluteNBO start
Start time for the consensus.
Time for absolute time used by GNUnet, in microseconds and in network byte order.