diff options
author | TheJackiMonster <thejackimonster@gmail.com> | 2022-02-18 00:55:52 +0100 |
---|---|---|
committer | TheJackiMonster <thejackimonster@gmail.com> | 2022-02-18 00:55:52 +0100 |
commit | fc3e6095465c119e9b58777ccb385ae91181eafe (patch) | |
tree | 2e6aeac1a42aa75bae5c0c920a590c1ad23fa2dc /include | |
parent | 2d86ca47e55589718307872999b8cb362b818ba0 (diff) | |
download | libgnunetchat-fc3e6095465c119e9b58777ccb385ae91181eafe.tar.gz libgnunetchat-fc3e6095465c119e9b58777ccb385ae91181eafe.zip |
Added message target for deletions
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/gnunet_chat_lib.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/gnunet_chat_lib.h b/include/gnunet_chat_lib.h index 6eb5c70..e09643e 100644 --- a/include/gnunet_chat_lib.h +++ b/include/gnunet_chat_lib.h | |||
@@ -876,6 +876,17 @@ struct GNUNET_CHAT_Invitation* | |||
876 | GNUNET_CHAT_message_get_invitation (const struct GNUNET_CHAT_Message *message); | 876 | GNUNET_CHAT_message_get_invitation (const struct GNUNET_CHAT_Message *message); |
877 | 877 | ||
878 | /** | 878 | /** |
879 | * Returns the target message of an operation represented by a given | ||
880 | * <i>message</i> if its kind is #GNUNET_CHAT_KIND_DELETION, otherwise it | ||
881 | * returns NULL. | ||
882 | * | ||
883 | * @param[in] message Message | ||
884 | * @return The target of message or NULL | ||
885 | */ | ||
886 | const struct GNUNET_CHAT_Message* | ||
887 | GNUNET_CHAT_message_get_target (const struct GNUNET_CHAT_Message *message); | ||
888 | |||
889 | /** | ||
879 | * Deletes a given <i>message</i> with a specific relative <i>delay</i>. | 890 | * Deletes a given <i>message</i> with a specific relative <i>delay</i>. |
880 | * | 891 | * |
881 | * @param[in] message Message | 892 | * @param[in] message Message |