sms: add __ofono_sms_get_next_ref

This commit is contained in:
Denis Kenzior 2010-11-03 22:30:02 -05:00
parent b3495d3a9b
commit 0edb5e3645
2 changed files with 7 additions and 0 deletions

View File

@ -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>

View File

@ -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,