The header of a GNUNET_MESSENGER_Message. More...
#include <gnunet_messenger_service.h>
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... | |
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 246 of file gnunet_messenger_service.h.
struct GNUNET_CRYPTO_Signature GNUNET_MESSENGER_MessageHeader::signature |
The signature of the senders private key.
Definition at line 251 of file gnunet_messenger_service.h.
Referenced by decode_message(), encode_message(), get_message_size(), hash_message(), pack_srv_room_message(), send_message_to_room(), sign_message(), sign_message_by_peer(), verify_message(), and verify_message_by_peer().
struct GNUNET_TIME_AbsoluteNBO GNUNET_MESSENGER_MessageHeader::timestamp |
The timestamp of the message.
Definition at line 256 of file gnunet_messenger_service.h.
Referenced by decode_message(), encode_message(), get_message_kind_size(), handle_delete_message(), handle_message_delete(), handle_message_id(), handle_message_join(), handle_message_subscribe(), iterate_flag_for_cleanup_discourse_message(), notify_srv_handle_message(), pack_srv_room_message(), send_message_to_room(), and verify_tunnel_message().
struct GNUNET_ShortHashCode GNUNET_MESSENGER_MessageHeader::sender_id |
The senders id inside of the room the message was sent in.
Definition at line 261 of file gnunet_messenger_service.h.
Referenced by decode_message(), encode_message(), enqueue_message_control(), get_member_session_of(), get_message_kind_size(), get_store_member_of(), get_store_peer_of(), handle_id_message(), handle_join_message(), handle_key_message(), handle_message_join(), handle_message_leave(), handle_send_message(), on_message(), pack_message(), pack_srv_room_message(), process_message_control(), send_message_join(), send_message_to_room(), send_srv_handle_message(), and verify_member_session_as_sender().
struct GNUNET_HashCode GNUNET_MESSENGER_MessageHeader::previous |
The hash of the previous message from the senders perspective.
Definition at line 266 of file gnunet_messenger_service.h.
Referenced by add_link(), decode_message(), encode_message(), get_message_kind_size(), get_store_message_link(), on_message(), pack_srv_room_message(), send_message_to_room(), update_message_state(), update_room_message(), and verify_tunnel_message().
enum GNUNET_MESSENGER_MessageKind GNUNET_MESSENGER_MessageHeader::kind |
The kind of the message.
Definition at line 271 of file gnunet_messenger_service.h.
Referenced by add_link(), callback_room_handle_message(), check_send_message(), cleanup_message(), copy_message(), copy_message_header(), create_message(), decode_message(), destroy_message(), encode_message(), encrypt_message(), enqueue_to_messages(), filter_message_sending(), fold_short_message(), get_member_session_of(), get_message_discourse(), get_message_size(), get_store_member_of(), get_store_message_link(), get_store_peer_of(), handle_message(), handle_recv_message(), handle_room_message(), handle_send_message(), handle_service_message(), handle_transcript_message(), handle_tunnel_message(), is_message_session_bound(), is_peer_message(), is_service_message(), notify_srv_handle_message(), on_message(), on_message_cb(), pack_message(), process_message_control(), read_stdio(), read_transcript_message(), send_message_to_room(), send_message_to_room_with_key(), send_srv_room_message(), switch_member_session(), unfold_short_message(), update_message_state(), update_room_message(), and verify_tunnel_message().