From f975012e3c2ef8a1511421a1e2816f33a54e6376 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 01483b3c9..fbb13a593 100644 --- a/include/linphone/core.h +++ b/include/linphone/core.h @@ -409,6 +409,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.