aboutsummaryrefslogtreecommitdiff
path: root/src/messenger/gnunet-service-messenger_message_send.h
diff options
context:
space:
mode:
authorTheJackiMonster <thejackimonster@gmail.com>2021-03-20 13:53:23 +0100
committerTheJackiMonster <thejackimonster@gmail.com>2021-04-04 17:58:11 +0200
commitac3aa3cc3a617bc54ed8beb2b5a30c0b95483525 (patch)
tree6e0444e568722f18501746665a07dfa3434c7ad6 /src/messenger/gnunet-service-messenger_message_send.h
parent2413977f917534aa24ef562a28da193a2cdaa343 (diff)
downloadgnunet-ac3aa3cc3a617bc54ed8beb2b5a30c0b95483525.tar.gz
gnunet-ac3aa3cc3a617bc54ed8beb2b5a30c0b95483525.zip
-multiple fixes and correction regarding messenger service
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com> -added message states to tunnels Signed-off-by: TheJackiMonster <thejackimonster@gmail.com> -fixed requests for deleted messages returning previous ones Signed-off-by: TheJackiMonster <thejackimonster@gmail.com> -added automatic solving of member id collissions Signed-off-by: TheJackiMonster <thejackimonster@gmail.com> -added light timestamp verification Signed-off-by: TheJackiMonster <thejackimonster@gmail.com> -fixed decoding asserts and member session forwarding Signed-off-by: TheJackiMonster <thejackimonster@gmail.com> -added permission check for member sessions during local join Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
Diffstat (limited to 'src/messenger/gnunet-service-messenger_message_send.h')
-rw-r--r--src/messenger/gnunet-service-messenger_message_send.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/messenger/gnunet-service-messenger_message_send.h b/src/messenger/gnunet-service-messenger_message_send.h
index 8e3ff4495..63320ab17 100644
--- a/src/messenger/gnunet-service-messenger_message_send.h
+++ b/src/messenger/gnunet-service-messenger_message_send.h
@@ -61,6 +61,19 @@ send_message_peer (struct GNUNET_MESSENGER_SrvRoom *room, struct GNUNET_MESSENGE
61 const struct GNUNET_MESSENGER_Message *message, const struct GNUNET_HashCode *hash); 61 const struct GNUNET_MESSENGER_Message *message, const struct GNUNET_HashCode *hash);
62 62
63/** 63/**
64 * Handles a sent id message to update the handles member id in the room.
65 * (changing member id is useful to prevent collisions)
66 *
67 * @param[in/out] room Room of the message
68 * @param[in/out] handle Sending handle
69 * @param[in] message ID-Message
70 * @param[in] hash Hash of the message
71 */
72void
73send_message_id (struct GNUNET_MESSENGER_SrvRoom *room, struct GNUNET_MESSENGER_SrvHandle *handle,
74 const struct GNUNET_MESSENGER_Message *message, const struct GNUNET_HashCode *hash);
75
76/**
64 * Handles a sent request message to trigger the request operation for this service. 77 * Handles a sent request message to trigger the request operation for this service.
65 * (the request operation will deactivate the possibility of spamming requests) 78 * (the request operation will deactivate the possibility of spamming requests)
66 * 79 *