diff options
author | Denis Kenzior <denkenz@gmail.com> | 2010-11-03 22:30:02 -0500 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2010-11-04 10:25:41 -0500 |
commit | 0edb5e36452ec30dfae8e33141f95bcd6e1f746c (patch) | |
tree | 7ad5bf5437f5c0fb34ee40fc279b08e1c11bdb8a /src | |
parent | b3495d3a9baac8b967556346f0be4bd00114c497 (diff) | |
download | ofono-0edb5e36452ec30dfae8e33141f95bcd6e1f746c.tar.bz2 |
sms: add __ofono_sms_get_next_ref
Diffstat (limited to 'src')
-rw-r--r-- | src/ofono.h | 2 | ||||
-rw-r--r-- | src/sms.c | 5 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/ofono.h b/src/ofono.h index bd7f33c4..01b0d4ec 100644 --- a/src/ofono.h +++ b/src/ofono.h @@ -266,6 +266,8 @@ unsigned int __ofono_sms_datagram_watch_add(struct ofono_sms *sms, gboolean __ofono_sms_datagram_watch_remove(struct ofono_sms *sms, unsigned int id); +unsigned short __ofono_sms_get_next_ref(struct ofono_sms *sms); + #include <ofono/sim.h> #include <ofono/stk.h> @@ -1865,6 +1865,11 @@ void *ofono_sms_get_data(struct ofono_sms *sms) return sms->driver_data; } +unsigned short __ofono_sms_get_next_ref(struct ofono_sms *sms) +{ + return sms->ref; +} + int __ofono_sms_txq_submit(struct ofono_sms *sms, GSList *list, unsigned int flags, struct ofono_uuid *uuid, |