From 4e41b865b26694a489ec6cd97d23298723acf8d2 Mon Sep 17 00:00:00 2001 From: Yann Diorcet Date: Mon, 21 May 2012 15:42:28 +0200 Subject: [PATCH] Add const to CallStatsUpdated callback --- coreapi/linphonecore.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coreapi/linphonecore.h b/coreapi/linphonecore.h index 0530626ea..59dbca0cb 100644 --- a/coreapi/linphonecore.h +++ b/coreapi/linphonecore.h @@ -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.