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.

Definition at line 161 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 166 of file gnunet_messenger_service.h.

Referenced by decode_message(), encode_message(), get_message_kind_size(), sign_message(), and verify_message().

◆ timestamp

struct GNUNET_TIME_AbsoluteNBO GNUNET_MESSENGER_MessageHeader::timestamp

The timestamp of the message.

Definition at line 171 of file gnunet_messenger_service.h.

Referenced by decode_message(), encode_message(), get_message_kind_size(), and pack_room_message().

◆ sender_id

struct GNUNET_ShortHashCode GNUNET_MESSENGER_MessageHeader::sender_id

◆ previous

struct GNUNET_HashCode GNUNET_MESSENGER_MessageHeader::previous

The hash of the previous message from the senders perspective.

Definition at line 181 of file gnunet_messenger_service.h.

Referenced by decode_message(), encode_message(), get_message_kind_size(), pack_room_message(), recv_message_join(), search_room_for_message(), and update_room_last_messages().

◆ kind

enum GNUNET_MESSENGER_MessageKind GNUNET_MESSENGER_MessageHeader::kind

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