summaryrefslogtreecommitdiffstats
path: root/include/history.h
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2010-09-20 16:38:52 -0500
committerDenis Kenzior <denkenz@gmail.com>2010-09-21 08:44:48 -0500
commitdbd7639d256be829cf20a34128f44575d8e0793a (patch)
treee8a52e2c84cc5c1dc50fe72689fa40e6ffe2528b /include/history.h
parent753cab6f701d7febc1f7babea4637462aae9961c (diff)
downloadofono-dbd7639d256be829cf20a34128f44575d8e0793a.tar.bz2
history: Update to the new SHA1 based sms id API
Diffstat (limited to 'include/history.h')
-rw-r--r--include/history.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/include/history.h b/include/history.h
index 17445f04..c1c4aa10 100644
--- a/include/history.h
+++ b/include/history.h
@@ -26,6 +26,8 @@
extern "C" {
#endif
+#include <ofono/types.h>
+
enum ofono_disconnect_reason;
struct ofono_call;
@@ -53,14 +55,16 @@ struct ofono_history_driver {
void (*call_missed)(struct ofono_history_context *context,
const struct ofono_call *call, time_t when);
void (*sms_received)(struct ofono_history_context *context,
- unsigned int msg_id, const char *from,
+ const struct ofono_uuid *uuid, const char *from,
const struct tm *remote, const struct tm *local,
const char *text);
void (*sms_send_pending)(struct ofono_history_context *context,
- unsigned int id, const char *to,
+ const struct ofono_uuid *uuid,
+ const char *to,
time_t when, const char *text);
void (*sms_send_status)(struct ofono_history_context *context,
- unsigned int id, time_t when,
+ const struct ofono_uuid *uuid,
+ time_t when,
enum ofono_history_sms_status status);
};