aboutsummaryrefslogtreecommitdiff
path: root/src/messenger/messenger_api_room.h
diff options
context:
space:
mode:
authorElias Summermatter <elias.summermatter@seccom.ch>2021-03-31 11:17:24 +0200
committerElias Summermatter <elias.summermatter@seccom.ch>2021-03-31 11:17:24 +0200
commit26d2c0d58612fb233cc25b2739bcf96693f5cd85 (patch)
tree16baec844f4a5d9b5383d91589fe4c8f74eec725 /src/messenger/messenger_api_room.h
parentb5660e0a33f4c7a819de0b5056172f78f912e352 (diff)
parentca4c9eae269c34765df26699fe756860c7827693 (diff)
downloadgnunet-26d2c0d58612fb233cc25b2739bcf96693f5cd85.tar.gz
gnunet-26d2c0d58612fb233cc25b2739bcf96693f5cd85.zip
Merge branch 'master' of ssh://gnunet.org/gnunet
Diffstat (limited to 'src/messenger/messenger_api_room.h')
-rwxr-xr-x[-rw-r--r--]src/messenger/messenger_api_room.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/messenger/messenger_api_room.h b/src/messenger/messenger_api_room.h
index 9455fd43b..eb41cf740 100644..100755
--- a/src/messenger/messenger_api_room.h
+++ b/src/messenger/messenger_api_room.h
@@ -100,12 +100,16 @@ get_room_sender (const struct GNUNET_MESSENGER_Room *room, const struct GNUNET_H
100 * Handles a <i>message</i> with a given <i>hash</i> in a <i>room</i> for the client API to update 100 * Handles a <i>message</i> with a given <i>hash</i> in a <i>room</i> for the client API to update
101 * members and its information. The function also stores the message in map locally for access afterwards. 101 * members and its information. The function also stores the message in map locally for access afterwards.
102 * 102 *
103 * The contact of the message's sender could be updated or even created. It may not be freed or destroyed though!
104 * (The contact may still be in use for old messages...)
105 *
103 * @param[in/out] room Room 106 * @param[in/out] room Room
104 * @param[in/out] sender Contact of sender 107 * @param[in/out] sender Contact of sender
105 * @param[in] message Message 108 * @param[in] message Message
106 * @param[in] hash Hash of message 109 * @param[in] hash Hash of message
110 * @return Contact of sender
107 */ 111 */
108void 112struct GNUNET_MESSENGER_Contact*
109handle_room_message (struct GNUNET_MESSENGER_Room *room, struct GNUNET_MESSENGER_Contact *sender, 113handle_room_message (struct GNUNET_MESSENGER_Room *room, struct GNUNET_MESSENGER_Contact *sender,
110 const struct GNUNET_MESSENGER_Message *message, const struct GNUNET_HashCode *hash); 114 const struct GNUNET_MESSENGER_Message *message, const struct GNUNET_HashCode *hash);
111 115