diff options
author | Jacki <jacki@thejackimonster.de> | 2024-01-03 14:02:04 +0100 |
---|---|---|
committer | Jacki <jacki@thejackimonster.de> | 2024-01-03 14:02:04 +0100 |
commit | 13b1e7f8e5d289b8da96a3d03e3e825a55944e7e (patch) | |
tree | aee2dd2235fc3b10541c8396293002f02f5e1a59 /include | |
parent | 828af2a9a5c39996b791bfb9af48cdd1bedf509f (diff) | |
download | libgnunetchat-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.h | 9 |
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, | |||
1260 | void | 1260 | void |
1261 | GNUNET_CHAT_invitation_accept (struct GNUNET_CHAT_Invitation *invitation); | 1261 | GNUNET_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 | */ | ||
1269 | enum GNUNET_GenericReturnValue | ||
1270 | GNUNET_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_ */ |