From 6984378aa921609e42ed2c8c4b201e628cbb2c00 Mon Sep 17 00:00:00 2001 From: Benjamin Reis Date: Thu, 28 Sep 2017 13:13:08 +0200 Subject: [PATCH] add linphone_core_cbs_set_message_received_unable_decrypt linphone_core_cbs_get_message_received_unable_decrypt --- include/linphone/core.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/include/linphone/core.h b/include/linphone/core.h index 55b6fc282..e78ba8e4c 100644 --- a/include/linphone/core.h +++ b/include/linphone/core.h @@ -378,6 +378,20 @@ LINPHONE_PUBLIC void linphone_core_cbs_set_message_received(LinphoneCoreCbs *cbs */ LINPHONE_PUBLIC LinphoneCoreCbsMessageReceivedCb linphone_core_cbs_get_message_received(LinphoneCoreCbs *cbs); +/** + * Set the #LinphoneCoreCbsMessageReceivedUnableDecryptCb callback. + * @param[in] cbs A #LinphoneCoreCbs. + * @param[in] cb The callback. + */ +LINPHONE_PUBLIC void linphone_core_cbs_set_message_received_unable_decrypt(LinphoneCoreCbs *cbs, LinphoneCoreCbsMessageReceivedUnableDecryptCb cb); + +/** + * Get the #LinphoneCoreCbsMessageReceivedUnableDecryptCb callback. + * @param[in] cbs A #LinphoneCoreCbs. + * @return The callback. + */ +LINPHONE_PUBLIC LinphoneCoreCbsMessageReceivedUnableDecryptCb linphone_core_cbs_get_message_received_unable_decrypt(LinphoneCoreCbs *cbs); + /** * Set the #LinphoneCoreCbsIsComposingReceivedCb callback. * @param[in] cbs A #LinphoneCoreCbs.