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 --- Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/linphone.framework/Headers/info_message.h | 43 +++++++++++++++++++++---------------------- 1 files changed, 21 insertions(+), 22 deletions(-) diff --git a/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/linphone.framework/Headers/info_message.h b/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/linphone.framework/Headers/info_message.h old mode 100644 new mode 100755 index ed081ee..ccee726 --- a/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/linphone.framework/Headers/info_message.h +++ b/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/linphone.framework/Headers/info_message.h @@ -37,51 +37,50 @@ /** * Add a header to an info message to be sent. - * @param im the info message - * @param name the header'name - * @param value the header's value + * @param info_message the #LinphoneInfoMessage object @notnil + * @param name the header'name @notnil + * @param value the header's value @maybenil **/ -LINPHONE_PUBLIC void linphone_info_message_add_header(LinphoneInfoMessage *im, const char *name, const char *value); +LINPHONE_PUBLIC void linphone_info_message_add_header(LinphoneInfoMessage *info_message, const char *name, const char *value); /** * Obtain a header value from a received info message. - * @param im the info message - * @param name the header'name - * @return the corresponding header's value, or NULL if not exists. + * @param info_message the #LinphoneInfoMessage object @notnil + * @param name the header'name @notnil + * @return the corresponding header's value, or NULL if not exists. @maybenil **/ -LINPHONE_PUBLIC const char *linphone_info_message_get_header(const LinphoneInfoMessage *im, const char *name); +LINPHONE_PUBLIC const char *linphone_info_message_get_header(const LinphoneInfoMessage *info_message, const char *name); /** * Assign a content to the info message. - * @param im the linphone info message - * @param content the content described as a #LinphoneContent structure. + * * All fields of the #LinphoneContent are copied, thus the application can destroy/modify/recycloe the content object freely ater the function returns. + * @param info_message the #LinphoneInfoMessage object @notnil + * @param content the content described as a #LinphoneContent structure. @maybenil **/ -LINPHONE_PUBLIC void linphone_info_message_set_content(LinphoneInfoMessage *im, const LinphoneContent *content); +LINPHONE_PUBLIC void linphone_info_message_set_content(LinphoneInfoMessage *info_message, const LinphoneContent *content); /** * Returns the info message's content as a #LinphoneContent structure. + * @param info_message the #LinphoneInfoMessage object @notnil + * @return the #LinphoneContent object. @maybenil **/ -LINPHONE_PUBLIC const LinphoneContent * linphone_info_message_get_content(const LinphoneInfoMessage *im); +LINPHONE_PUBLIC const LinphoneContent * linphone_info_message_get_content(const LinphoneInfoMessage *info_message); /** * Take a reference on a #LinphoneInfoMessage. + * @param info_message the #LinphoneInfoMessage object @notnil + * @return the same #LinphoneInfoMessage object @notnil */ -LINPHONE_PUBLIC LinphoneInfoMessage *linphone_info_message_ref(LinphoneInfoMessage *im); +LINPHONE_PUBLIC LinphoneInfoMessage *linphone_info_message_ref(LinphoneInfoMessage *info_message); /** * Release a reference on a #LinphoneInfoMessage. + * @param info_message the linphone info message @notnil */ -LINPHONE_PUBLIC void linphone_info_message_unref(LinphoneInfoMessage *im); +LINPHONE_PUBLIC void linphone_info_message_unref(LinphoneInfoMessage *info_message); -/** - * Destroy a LinphoneInfoMessage. - * @deprecated Use linphone_info_message_unref() instead. - * @donotwrap -**/ -LINPHONE_PUBLIC LINPHONE_DEPRECATED void linphone_info_message_destroy(LinphoneInfoMessage *im); - -LINPHONE_PUBLIC LinphoneInfoMessage *linphone_info_message_copy(const LinphoneInfoMessage *orig); +LINPHONE_PUBLIC LinphoneInfoMessage *linphone_info_message_copy(const LinphoneInfoMessage *info_message); /** -- Gitblit v1.8.0