]> sjero.net Git - linphone/blobdiff - coreapi/private.h
Add time in LinphoneChatMessage and SalMessage
[linphone] / coreapi / private.h
index c421b2bc6f1ef6acc8b4b831c6bc704dac852fb0..ca79a722f7acef67c7c68c92dd477e7d8f38d128 100644 (file)
@@ -103,6 +103,7 @@ struct _LinphoneChatMessage {
        void* message_userdata;
        char* external_body_url;
        LinphoneAddress* from;
+       time_t time;
 };
 
 typedef struct StunCandidate{
@@ -279,7 +280,7 @@ void linphone_proxy_config_write_to_config_file(struct _LpConfig* config,Linphon
 
 int linphone_proxy_config_normalize_number(LinphoneProxyConfig *cfg, const char *username, char *result, size_t result_len);
 
-void linphone_core_message_received(LinphoneCore *lc, const char *from, const char *raw_msg,const char* external_url);
+void linphone_core_message_received(LinphoneCore *lc, const SalMessage *msg);
 
 void linphone_core_play_tone(LinphoneCore *lc);