]> sjero.net Git - linphone/blobdiff - coreapi/help/buddy_status.c
merge presence improvement patch
[linphone] / coreapi / help / buddy_status.c
index 7ee06a8f53c25999befd01c13839efbfb1b19fb6..1032cf17b0ce0b4997f45e355f75b31a4f90a80c 100644 (file)
@@ -46,13 +46,13 @@ static void stop(int signum){
 /**
  * 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));