Commit 7aedeaac authored by Sylvain Berfini's avatar Sylvain Berfini 🎩
Browse files

Added missing linphone_friend_list_get_core method

parent cb657fff
...@@ -688,3 +688,7 @@ void linphone_friend_list_subscription_state_changed(LinphoneCore *lc, LinphoneE ...@@ -688,3 +688,7 @@ void linphone_friend_list_subscription_state_changed(LinphoneCore *lc, LinphoneE
} }
} }
} }
LinphoneCore* linphone_friend_list_get_core(LinphoneFriendList *list) {
return list->lc;
}
...@@ -313,17 +313,24 @@ LINPHONE_PUBLIC LinphoneFriendListContactUpdatedCb linphone_friend_list_cbs_get_ ...@@ -313,17 +313,24 @@ LINPHONE_PUBLIC LinphoneFriendListContactUpdatedCb linphone_friend_list_cbs_get_
LINPHONE_PUBLIC void linphone_friend_list_cbs_set_contact_updated(LinphoneFriendListCbs *cbs, LinphoneFriendListContactUpdatedCb cb); LINPHONE_PUBLIC void linphone_friend_list_cbs_set_contact_updated(LinphoneFriendListCbs *cbs, LinphoneFriendListContactUpdatedCb cb);
/** /**
* * Starts a CardDAV synchronization using value set using linphone_friend_list_set_uri.
* @param[in] list LinphoneFriendList object. * @param[in] list LinphoneFriendList object.
*/ */
LINPHONE_PUBLIC void linphone_friend_list_synchronize_friends_from_server(LinphoneFriendList *list); LINPHONE_PUBLIC void linphone_friend_list_synchronize_friends_from_server(LinphoneFriendList *list);
/** /**
* * Goes through all the LinphoneFriend that are dirty and does a CardDAV PUT to update the server.
* @param[in] list LinphoneFriendList object. * @param[in] list LinphoneFriendList object.
*/ */
void linphone_friend_list_update_dirty_friends(LinphoneFriendList *list); void linphone_friend_list_update_dirty_friends(LinphoneFriendList *list);
/**
* Returns the LinphoneCore object attached to this LinphoneFriendList.
* @param[in] list LinphoneFriendList object.
* @return a LinphoneCore object
*/
LINPHONE_PUBLIC LinphoneCore* linphone_friend_list_get_core(LinphoneFriendList *list);
/** /**
* @} * @}
*/ */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment