From 6a99d9bf65aa5878cb409945ed2bdbdcb916d047 Mon Sep 17 00:00:00 2001 From: chenqiyang <1406175257@qq.com> Date: 星期五, 02 九月 2022 14:56:40 +0800 Subject: [PATCH] 更新linphone sdk --- HDLLinPhoneSDK(OC)/HDLLinPhoneSDK/linphone-sdk/apple-darwin/Frameworks/lime.framework/Headers/lime_ffi.h | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git "a/HDLLinPhoneSDK\357\274\210OC\357\274\211/HDLLinPhoneSDK/linphone-sdk/apple-darwin/Frameworks/lime.framework/Headers/lime_ffi.h" "b/HDLLinPhoneSDK\357\274\210OC\357\274\211/HDLLinPhoneSDK/linphone-sdk/apple-darwin/Frameworks/lime.framework/Headers/lime_ffi.h" index 4150aca..1746e02 100755 --- "a/HDLLinPhoneSDK\357\274\210OC\357\274\211/HDLLinPhoneSDK/linphone-sdk/apple-darwin/Frameworks/lime.framework/Headers/lime_ffi.h" +++ "b/HDLLinPhoneSDK\357\274\210OC\357\274\211/HDLLinPhoneSDK/linphone-sdk/apple-darwin/Frameworks/lime.framework/Headers/lime_ffi.h" @@ -382,6 +382,17 @@ int lime_ffi_delete_peerDevice(lime_manager_t manager, const char *peerDeviceId); /** + * @brief Stale all sessions between localDeviceId and peerDevice. + * If peerDevice keep using this session to encrypt and we decrypt with success, the session will be reactivated + * but to encrypt a message to this peerDevice, a new session will be created. + * If no session is active between the given device, this call has no effect + * + * @param[in] manager pointer to the opaque structure used to interact with lime + * @param[in] localDeviceId Identify the local user account, it must be unique and is also be used as Id on the X3DH key server, it shall be the GRUU + * @param[in] peerDeviceId The device Id of peer, shall be its GRUU + */ +int lime_ffi_stale_sessions(lime_manager_t manager, const char *localDeviceId, const char *peerDeviceId); +/** * @brief Update: shall be called once a day at least, performs checks, updates and cleaning operations * * - check if we shall update a new SPk to X3DH server(SPk lifetime is set in settings) -- Gitblit v1.8.0