summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ofono.h2
-rw-r--r--src/sms.c5
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>
diff --git a/src/sms.c b/src/sms.c
index 1d026a6f..c33175b8 100644
--- a/src/sms.c
+++ b/src/sms.c
@@ -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,