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. | |
struct GNUNET_TIME_AbsoluteNBO | timestamp |
The timestamp of the message. | |
struct GNUNET_ShortHashCode | sender_id |
The senders id inside of the room the message was sent in. | |
struct GNUNET_HashCode | previous |
The hash of the previous message from the senders perspective. | |
enum GNUNET_MESSENGER_MessageKind | kind |
The kind of the message. | |
The header of a GNUNET_MESSENGER_Message.
This allows authentication of the sender, temporal ordering and finding potentially missed messages.
Message-header-size: 140+ bytes
Definition at line 410 of file gnunet_messenger_service.h.
struct GNUNET_CRYPTO_Signature GNUNET_MESSENGER_MessageHeader::signature |
The signature of the senders private key.
Definition at line 415 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 420 of file gnunet_messenger_service.h.
Referenced by decode_message(), encode_message(), get_message_kind_size(), 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 425 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_leave_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 430 of file gnunet_messenger_service.h.
Referenced by add_link(), decode_message(), encode_message(), get_epoch_previous_announcement(), get_epoch_previous_group(), get_message_kind_size(), get_store_message_link(), on_message(), pack_srv_room_message(), put_store_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 435 of file gnunet_messenger_service.h.
Referenced by add_link(), calc_message_hmac(), callback_room_handle_message(), check_send_message(), cleanup_message(), confirm_epoch_membership_announcment(), copy_message(), copy_message_header(), create_message(), decode_message(), decrypt_message(), decrypt_secret_message(), destroy_message(), encode_message(), encrypt_message(), encrypt_secret_message(), enqueue_to_messages(), extract_access_message_key(), extract_authorization_message_key(), filter_message_sending(), fold_short_message(), get_epoch_previous_announcement(), get_epoch_previous_group(), get_epoch_proposal_group(), get_member_session_of(), get_members_of_epoch(), get_message_discourse(), get_message_size(), get_room_message_epoch_identifier(), get_store_member_of(), get_store_message_link(), get_store_peer_of(), handle_access_message(), handle_appeal_message(), handle_authorization_message(), handle_epoch_announcement_access(), handle_epoch_announcement_message(), handle_message(), handle_recv_message(), handle_room_delayed_action(), handle_room_delayed_appeal(), handle_room_delayed_deletion(), handle_room_message(), handle_send_message(), handle_service_message(), handle_transcript_message(), handle_tunnel_message(), invalidate_epoch_announcement(), invalidate_epoch_group(), is_epoch_member_in_room_graph(), is_epoch_message(), is_epoch_previous_of_other(), is_message_session_bound(), is_peer_message(), is_service_message(), iterate_cancel_action_by(), iterate_epoch_session_members(), notify_srv_handle_message(), on_message(), on_message_cb(), pack_message(), pack_srv_room_message(), process_message_control(), put_store_message(), read_stdio(), read_transcript_message(), revoke_epoch_announcement_member(), send_epoch_announcement_access(), send_epoch_announcement_authorization(), send_epoch_group(), send_epoch_group_access(), send_epoch_group_authorization(), send_message_to_room(), send_message_to_room_with_key(), send_srv_room_message(), set_epoch_proposal_group(), setup_following_epochs_of_previous(), sign_message_by_key(), switch_member_session(), traverse_epoch_session_message(), unfold_short_message(), update_message_state(), update_room_message(), update_room_secret_message(), verify_message_by_key(), and verify_tunnel_message().