diff options
author | Jacki <jacki@thejackimonster.de> | 2024-02-02 00:31:21 +0100 |
---|---|---|
committer | Jacki <jacki@thejackimonster.de> | 2024-02-02 00:31:21 +0100 |
commit | 1b50f47306d56da32daab8bfa72cf994dece043b (patch) | |
tree | 6eca18d38196338cd1220b925748b479770eeb99 /include | |
parent | 48a024bc9e146a8bc861f9c58de65a769fdcaa40 (diff) | |
download | libgnunetchat-1b50f47306d56da32daab8bfa72cf994dece043b.tar.gz libgnunetchat-1b50f47306d56da32daab8bfa72cf994dece043b.zip |
Implement rejection of an invitation
Signed-off-by: Jacki <jacki@thejackimonster.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/gnunet/gnunet_chat_lib.h | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/include/gnunet/gnunet_chat_lib.h b/include/gnunet/gnunet_chat_lib.h index 0880c5b..a22d6d2 100644 --- a/include/gnunet/gnunet_chat_lib.h +++ b/include/gnunet/gnunet_chat_lib.h | |||
@@ -1381,7 +1381,15 @@ void | |||
1381 | GNUNET_CHAT_invitation_accept (struct GNUNET_CHAT_Invitation *invitation); | 1381 | GNUNET_CHAT_invitation_accept (struct GNUNET_CHAT_Invitation *invitation); |
1382 | 1382 | ||
1383 | /** | 1383 | /** |
1384 | * Returns if a given <i>invitation</i> is accepted. | 1384 | * Rejects a given chat <i>invitation</i> to enter another chat. |
1385 | * | ||
1386 | * @param[in,out] invitation Chat invitation | ||
1387 | */ | ||
1388 | void | ||
1389 | GNUNET_CHAT_invitation_reject (struct GNUNET_CHAT_Invitation *invitation); | ||
1390 | |||
1391 | /** | ||
1392 | * Returns if a given <i>invitation</i> got accepted. | ||
1385 | * | 1393 | * |
1386 | * @param[in] invitation Chat invitation | 1394 | * @param[in] invitation Chat invitation |
1387 | * @return #GNUNET_YES if accepted, #GNUNET_NO otherwise | 1395 | * @return #GNUNET_YES if accepted, #GNUNET_NO otherwise |
@@ -1390,6 +1398,15 @@ enum GNUNET_GenericReturnValue | |||
1390 | GNUNET_CHAT_invitation_is_accepted (const struct GNUNET_CHAT_Invitation *invitation); | 1398 | GNUNET_CHAT_invitation_is_accepted (const struct GNUNET_CHAT_Invitation *invitation); |
1391 | 1399 | ||
1392 | /** | 1400 | /** |
1401 | * Returns if a given <i>invitation</i> got rejected. | ||
1402 | * | ||
1403 | * @param[in] invitation Chat invitation | ||
1404 | * @return #GNUNET_YES if rejected, #GNUNET_NO otherwise | ||
1405 | */ | ||
1406 | enum GNUNET_GenericReturnValue | ||
1407 | GNUNET_CHAT_invitation_is_rejected (const struct GNUNET_CHAT_Invitation *invitation); | ||
1408 | |||
1409 | /** | ||
1393 | * Returns the contact of the issuer from a given chat <i>ticket</i>. | 1410 | * Returns the contact of the issuer from a given chat <i>ticket</i>. |
1394 | * | 1411 | * |
1395 | * @param[in] invitation Chat invitation | 1412 | * @param[in] invitation Chat invitation |