GNUnet  0.11.x
Data Fields
GNUNET_MESSENGER_MessageHeader Struct Reference

The header of a GNUNET_MESSENGER_Message. More...

#include <gnunet_messenger_service.h>

Collaboration diagram for GNUNET_MESSENGER_MessageHeader:
[legend]

Data Fields

struct GNUNET_IDENTITY_Signature signature
 The signature of the senders private key. More...
 
struct GNUNET_TIME_AbsoluteNBO timestamp
 The timestamp of the message. More...
 
struct GNUNET_ShortHashCode sender_id
 The senders id inside of the room the message was sent in. More...
 
struct GNUNET_HashCode previous
 The hash of the previous message from the senders perspective. More...
 
enum GNUNET_MESSENGER_MessageKind kind
 The kind of the message. More...
 

Detailed Description

The header of a GNUNET_MESSENGER_Message.

This allows authentication of the sender, temporal ordering and finding potentially missed messages.

Message-header-size: 40+ bytes

Definition at line 181 of file gnunet_messenger_service.h.

Field Documentation

◆ signature

struct GNUNET_IDENTITY_Signature GNUNET_MESSENGER_MessageHeader::signature

The signature of the senders private key.

Definition at line 783 of file gnunet_messenger_service.h.

Referenced by decode_message(), encode_message(), get_message_size(), hash_message(), pack_message(), sign_message(), and verify_message().

◆ timestamp

struct GNUNET_TIME_AbsoluteNBO GNUNET_MESSENGER_MessageHeader::timestamp

◆ sender_id

struct GNUNET_ShortHashCode GNUNET_MESSENGER_MessageHeader::sender_id

◆ previous

struct GNUNET_HashCode GNUNET_MESSENGER_MessageHeader::previous

◆ kind

enum GNUNET_MESSENGER_MessageKind GNUNET_MESSENGER_MessageHeader::kind

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