summaryrefslogtreecommitdiffstats
path: root/src/ofono.h
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2010-11-03 22:37:17 -0500
committerDenis Kenzior <denkenz@gmail.com>2010-11-04 10:25:42 -0500
commit3436c58fac7369fa34cb403b2ae86f4c334565b8 (patch)
treecd856f89b92e6390a9d7f02a78d678c66af8a324 /src/ofono.h
parent4a2111347facc1165903e32e09b6cc0959145f65 (diff)
downloadofono-3436c58fac7369fa34cb403b2ae86f4c334565b8.tar.bz2
sms: Refactor __ofono_sms_txq_submit
Diffstat (limited to 'src/ofono.h')
-rw-r--r--src/ofono.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/ofono.h b/src/ofono.h
index d2244d59..eb0bc378 100644
--- a/src/ofono.h
+++ b/src/ofono.h
@@ -235,6 +235,9 @@ enum ofono_sms_submit_flag {
};
typedef void (*ofono_sms_txq_submit_cb_t)(gboolean ok, void *data);
+typedef void (*ofono_sms_txq_queued_cb_t)(struct ofono_sms *sms,
+ const struct ofono_uuid *uuid,
+ void *data);
typedef void (*ofono_sms_text_notify_cb_t)(const char *from,
const struct tm *remote,
const struct tm *local,
@@ -250,8 +253,13 @@ typedef void (*ofono_sms_datagram_notify_cb_t)(const char *from,
int __ofono_sms_txq_submit(struct ofono_sms *sms, GSList *list,
unsigned int flags, struct ofono_uuid *uuid,
- ofono_sms_txq_submit_cb_t cb,
- void *data, ofono_destroy_func destroy);
+ ofono_sms_txq_queued_cb_t, void *data);
+
+int __ofono_sms_txq_set_submit_notify(struct ofono_sms *sms,
+ struct ofono_uuid *uuid,
+ ofono_sms_txq_submit_cb_t cb,
+ void *data,
+ ofono_destroy_func destroy);
const char *__ofono_sms_message_path_from_uuid(struct ofono_sms *sms,
const struct ofono_uuid *uuid);