mirror of git://git.sysmocom.de/ofono
sms: add __ofono_sms_get_next_ref
This commit is contained in:
parent
b3495d3a9b
commit
0edb5e3645
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue