aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJacki <jacki@thejackimonster.de>2024-01-03 14:02:04 +0100
committerJacki <jacki@thejackimonster.de>2024-01-03 14:02:04 +0100
commit13b1e7f8e5d289b8da96a3d03e3e825a55944e7e (patch)
treeaee2dd2235fc3b10541c8396293002f02f5e1a59 /include
parent828af2a9a5c39996b791bfb9af48cdd1bedf509f (diff)
downloadlibgnunetchat-13b1e7f8e5d289b8da96a3d03e3e825a55944e7e.tar.gz
libgnunetchat-13b1e7f8e5d289b8da96a3d03e3e825a55944e7e.zip
Add function to check for invitation status
Signed-off-by: Jacki <jacki@thejackimonster.de>
Diffstat (limited to 'include')
-rw-r--r--include/gnunet/gnunet_chat_lib.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/gnunet/gnunet_chat_lib.h b/include/gnunet/gnunet_chat_lib.h
index 9275988..6e3829e 100644
--- a/include/gnunet/gnunet_chat_lib.h
+++ b/include/gnunet/gnunet_chat_lib.h
@@ -1260,6 +1260,15 @@ GNUNET_CHAT_file_unindex (struct GNUNET_CHAT_File *file,
1260void 1260void
1261GNUNET_CHAT_invitation_accept (struct GNUNET_CHAT_Invitation *invitation); 1261GNUNET_CHAT_invitation_accept (struct GNUNET_CHAT_Invitation *invitation);
1262 1262
1263/**
1264 * Returns if a given <i>invitation</i> is accepted.
1265 *
1266 * @param[in] invitation Chat invitation
1267 * @return #GNUNET_YES if accepted, #GNUNET_NO otherwise
1268 */
1269enum GNUNET_GenericReturnValue
1270GNUNET_CHAT_invitation_is_accepted (const struct GNUNET_CHAT_Invitation *invitation);
1271
1263/**@}*/ 1272/**@}*/
1264 1273
1265#endif /* GNUNET_CHAT_LIB_H_ */ 1274#endif /* GNUNET_CHAT_LIB_H_ */