/**
* presence state change notification callback
*/
-static void notify_presence_recv_updated (struct _LinphoneCore *lc, LinphoneFriend *friend) {
+static void notify_presence_recv_updated (LinphoneCore *lc, LinphoneFriend *friend) {
const LinphoneAddress* friend_address = linphone_friend_get_address(friend);
printf("New state state [%s] for user id [%s] \n"
,linphone_online_status_to_string(linphone_friend_get_status(friend))
,linphone_address_as_string (friend_address));
}
-static void new_subscription_request (struct _LinphoneCore *lc, LinphoneFriend *friend, const char* url) {
+static void new_subscription_request (LinphoneCore *lc, LinphoneFriend *friend, const char* url) {
const LinphoneAddress* friend_address = linphone_friend_get_address(friend);
printf(" [%s] wants to see your status, accepting\n"
,linphone_address_as_string (friend_address));