From 2e62153e1f17ee9c2f744eb9ee49f2fd0a8b9b4e Mon Sep 17 00:00:00 2001 From: Sylvain Berfini Date: Tue, 2 Feb 2016 15:40:09 +0100 Subject: [PATCH] Also deprecated linphone_core_add_friend and linphone_core_remove_friend --- coreapi/linphonefriend.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/coreapi/linphonefriend.h b/coreapi/linphonefriend.h index 709b48ef3..27e8b6ede 100644 --- a/coreapi/linphonefriend.h +++ b/coreapi/linphonefriend.h @@ -353,6 +353,7 @@ LINPHONE_PUBLIC void linphone_core_interpret_friend_uri(LinphoneCore *lc, const * Add a friend to the current buddy list, if \link linphone_friend_enable_subscribes() subscription attribute \endlink is set, a SIP SUBSCRIBE message is sent. * @param lc #LinphoneCore object * @param fr #LinphoneFriend to add + * @deprecated use linphone_friend_list_add_friend() instead. */ LINPHONE_PUBLIC void linphone_core_add_friend(LinphoneCore *lc, LinphoneFriend *fr); @@ -360,6 +361,7 @@ LINPHONE_PUBLIC void linphone_core_add_friend(LinphoneCore *lc, LinphoneFriend * * Removes a friend from the buddy list * @param lc #LinphoneCore object * @param fr #LinphoneFriend to remove + * @deprecated use linphone_friend_list_remove_friend() instead. */ LINPHONE_PUBLIC void linphone_core_remove_friend(LinphoneCore *lc, LinphoneFriend *fr);