diff options
author | Yang Gu <yang.gu@intel.com> | 2010-04-02 14:20:31 +0800 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2010-04-02 10:58:53 -0500 |
commit | 8bc04ba93a067222316cddb23bf68b5b206a37e0 (patch) | |
tree | 7f710a19cad6904df5245265390da60b11bddd28 /src/smsutil.h | |
parent | 8bad7e540a8fe86814b391f177a71b9eb2e44b0e (diff) | |
download | ofono-8bc04ba93a067222316cddb23bf68b5b206a37e0.tar.bz2 |
Refactor: Break out semi-octet decoder
Refactor decode_scts to use this function
Diffstat (limited to 'src/smsutil.h')
-rw-r--r-- | src/smsutil.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/smsutil.h b/src/smsutil.h index c28a6daf..fd80c8fc 100644 --- a/src/smsutil.h +++ b/src/smsutil.h @@ -422,6 +422,8 @@ gboolean sms_decode_address_field(const unsigned char *pdu, int len, gboolean sms_encode_address_field(const struct sms_address *in, gboolean sc, unsigned char *pdu, int *offset); +guint8 sms_decode_semi_octet(guint8 in); + int sms_udl_in_bytes(guint8 ud_len, guint8 dcs); time_t sms_scts_to_time(const struct sms_scts *scts, struct tm *remote); |