aboutsummaryrefslogtreecommitdiff
path: root/src/messenger/gnunet-service-messenger_message_send.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/messenger/gnunet-service-messenger_message_send.h')
-rw-r--r--src/messenger/gnunet-service-messenger_message_send.h19
1 files changed, 16 insertions, 3 deletions
diff --git a/src/messenger/gnunet-service-messenger_message_send.h b/src/messenger/gnunet-service-messenger_message_send.h
index 4f4c6cfc2..4c25c0913 100644
--- a/src/messenger/gnunet-service-messenger_message_send.h
+++ b/src/messenger/gnunet-service-messenger_message_send.h
@@ -1,6 +1,6 @@
1/* 1/*
2 This file is part of GNUnet. 2 This file is part of GNUnet.
3 Copyright (C) 2020--2021 GNUnet e.V. 3 Copyright (C) 2020--2023 GNUnet e.V.
4 4
5 GNUnet is free software: you can redistribute it and/or modify it 5 GNUnet is free software: you can redistribute it and/or modify it
6 under the terms of the GNU Affero General Public License as published 6 under the terms of the GNU Affero General Public License as published
@@ -29,10 +29,9 @@
29#include "platform.h" 29#include "platform.h"
30#include "gnunet_util_lib.h" 30#include "gnunet_util_lib.h"
31 31
32#include "gnunet-service-messenger_message_kind.h"
33
34#include "gnunet-service-messenger_tunnel.h" 32#include "gnunet-service-messenger_tunnel.h"
35#include "messenger_api_message.h" 33#include "messenger_api_message.h"
34#include "messenger_api_message_kind.h"
36 35
37/** 36/**
38 * Handles a sent join message to ensure growth of the decentralized room structure. 37 * Handles a sent join message to ensure growth of the decentralized room structure.
@@ -50,6 +49,20 @@ send_message_join (struct GNUNET_MESSENGER_SrvRoom *room,
50 const struct GNUNET_HashCode *hash); 49 const struct GNUNET_HashCode *hash);
51 50
52/** 51/**
52 * Handles a sent key message to ensure changes to the public key of the sending handle.
53 *
54 * @param[in,out] room Room of the message
55 * @param[in,out] handle Sending handle
56 * @param[in] message KEY-Message
57 * @param[in] hash Hash of the message
58 */
59void
60send_message_key (struct GNUNET_MESSENGER_SrvRoom *room,
61 struct GNUNET_MESSENGER_SrvHandle *handle,
62 const struct GNUNET_MESSENGER_Message *message,
63 const struct GNUNET_HashCode *hash);
64
65/**
53 * Handles a sent peer message to update the rooms peer message of this service. 66 * Handles a sent peer message to update the rooms peer message of this service.
54 * (a set peer message indicates this service being a part of the decentralized room structure) 67 * (a set peer message indicates this service being a part of the decentralized room structure)
55 * 68 *