From c9347c73121d8cc107fa91c09065df108a508682 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Grisez?= Date: Thu, 12 Jan 2017 17:54:08 +0100 Subject: [PATCH] Mark some functions as deprecated --- include/linphone/call_params.h | 2 +- include/linphone/proxy_config.h | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/include/linphone/call_params.h b/include/linphone/call_params.h index 84bef3f3f..a72f50029 100644 --- a/include/linphone/call_params.h +++ b/include/linphone/call_params.h @@ -466,7 +466,7 @@ LINPHONE_PUBLIC void linphone_call_params_clear_custom_sdp_media_attributes(Linp * @param[in] cp LinphoneCallParams object * @deprecated Use linphone_call_params_unref() instead. **/ -LINPHONE_PUBLIC void linphone_call_params_destroy(LinphoneCallParams *cp); +LINPHONE_DEPRECATED LINPHONE_PUBLIC void linphone_call_params_destroy(LinphoneCallParams *cp); /** diff --git a/include/linphone/proxy_config.h b/include/linphone/proxy_config.h index f437bcc50..a16829fa3 100644 --- a/include/linphone/proxy_config.h +++ b/include/linphone/proxy_config.h @@ -402,7 +402,7 @@ LINPHONE_PUBLIC bool_t linphone_proxy_config_is_phone_number(LinphoneProxyConfig * @return TRUE if a phone number was recognized, FALSE otherwise. * @deprecated use linphone_proxy_config_normalize_phone_number() */ -LINPHONE_PUBLIC bool_t linphone_proxy_config_normalize_number(LinphoneProxyConfig *proxy, const char *username, char *result, size_t result_len); +LINPHONE_PUBLIC LINPHONE_DEPRECATED bool_t linphone_proxy_config_normalize_number(LinphoneProxyConfig *proxy, const char *username, char *result, size_t result_len); /** * Normalize a human readable phone number into a basic string. 888-444-222 becomes 888444222 @@ -447,6 +447,7 @@ LINPHONE_PUBLIC LinphonePrivacyMask linphone_proxy_config_get_privacy(const Linp * Set the http file transfer server to be used for content type application/vnd.gsma.rcs-ft-http+xml * @param[in] cfg #LinphoneProxyConfig object. * @param server_url URL of the file server like https://file.linphone.org/upload.php + * @warning That function isn't implemented yet. * */ LINPHONE_PUBLIC void linphone_proxy_config_set_file_transfer_server(LinphoneProxyConfig *cfg, const char * server_url); @@ -454,6 +455,7 @@ LINPHONE_PUBLIC void linphone_proxy_config_set_file_transfer_server(LinphoneProx * Get the http file transfer server to be used for content type application/vnd.gsma.rcs-ft-http+xml * @param[in] cfg #LinphoneProxyConfig object. * @return URL of the file server like https://file.linphone.org/upload.php + * @warning That function isn't implemented yet. * */ LINPHONE_PUBLIC const char* linphone_proxy_config_get_file_transfer_server(const LinphoneProxyConfig *cfg);