GNUnet  last
GNUNET_MESSENGER_MessageHeader Struct Reference

The header of a GNUNET_MESSENGER_Message. More...

#include <gnunet_messenger_service.h>

Collaboration diagram for GNUNET_MESSENGER_MessageHeader:

Data Fields

struct GNUNET_CRYPTO_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 221 of file gnunet_messenger_service.h.

Field Documentation

◆ signature

struct GNUNET_CRYPTO_Signature GNUNET_MESSENGER_MessageHeader::signature

◆ timestamp

◆ sender_id

◆ previous

struct GNUNET_HashCode GNUNET_MESSENGER_MessageHeader::previous

◆ kind

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