]> sjero.net Git - linphone/commitdiff
Add const to CallStatsUpdated callback
authorYann Diorcet <yann.diorcet@belledonne-communications.com>
Mon, 21 May 2012 13:42:28 +0000 (15:42 +0200)
committerYann Diorcet <yann.diorcet@belledonne-communications.com>
Mon, 21 May 2012 13:42:28 +0000 (15:42 +0200)
coreapi/linphonecore.h

index 0530626ea2ba99f45af85b5e97f84d2188954956..59dbca0cba3d09c7f960cc91fac6577216f919a9 100644 (file)
@@ -644,7 +644,7 @@ typedef void (*BuddyInfoUpdated)(struct _LinphoneCore *lc, LinphoneFriend *lf);
 /** Callback prototype for in progress transfers. The new_call_state is the state of the call resulting of the transfer, at the other party. */
 typedef void (*LinphoneTransferStateChanged)(struct _LinphoneCore *lc, LinphoneCall *transfered, LinphoneCallState new_call_state);
 /** Callback prototype */
-typedef void (*CallStatsUpdated)(struct _LinphoneCore *lc, LinphoneCall *call, LinphoneCallStats *stats);
+typedef void (*CallStatsUpdated)(struct _LinphoneCore *lc, LinphoneCall *call, const LinphoneCallStats *stats);
 
 /**
  * This structure holds all callbacks that the application should implement.