GNUnet  0.11.x
Data Fields
GNUNET_MESSENGER_MessageInfo Struct Reference

An info message body. More...

#include <gnunet_messenger_service.h>

Collaboration diagram for GNUNET_MESSENGER_MessageInfo:
[legend]

Data Fields

struct GNUNET_IDENTITY_PublicKey host_key
 The senders key to verify its signatures. More...
 
uint32_t messenger_version
 The version of GNUnet Messenger API. More...
 

Detailed Description

An info message body.

This allows ensuring member ids are unique and this first message can be verified.

Message-body-size: 8+ bytes

Definition at line 215 of file gnunet_messenger_service.h.

Field Documentation

◆ host_key

struct GNUNET_IDENTITY_PublicKey GNUNET_MESSENGER_MessageInfo::host_key

The senders key to verify its signatures.

Definition at line 220 of file gnunet_messenger_service.h.

Referenced by create_message_info(), decode_message_body(), encode_message_body(), get_member_session_of(), and get_message_body_size().

◆ messenger_version

uint32_t GNUNET_MESSENGER_MessageInfo::messenger_version

The version of GNUnet Messenger API.

The sixteen lower bits represent the lower version number while the sixteen higher bits represent the higher version number. A different higher version number implies incompatibility to lower versions while differences in the lower version can still be supported potentially.

Definition at line 229 of file gnunet_messenger_service.h.

Referenced by create_message_info(), decode_message_body(), encode_message_body(), get_message_body_kind_size(), and recv_message_info().


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