diff options
author | Denis Kenzior <denkenz@gmail.com> | 2010-05-27 09:25:48 -0500 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2010-05-27 09:25:48 -0500 |
commit | 9bb7bcd450f990f77aa833df6b2ae8762a94adcd (patch) | |
tree | 21b5200bcaf2a90ee88e4a6a116e2b1343838f4b /src/smsutil.h | |
parent | 4d69a5cd86a5a18e949f38c8316bfdf8452ca387 (diff) | |
download | ofono-9bb7bcd450f990f77aa833df6b2ae8762a94adcd.tar.bz2 |
smsutil: add sms_decode_unpacked_stk_pdu function
Properly check the special 'packing required' sms pdus sent by SIM
toolkit.
Diffstat (limited to 'src/smsutil.h')
-rw-r--r-- | src/smsutil.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/smsutil.h b/src/smsutil.h index a060c1bc..a36a9d3c 100644 --- a/src/smsutil.h +++ b/src/smsutil.h @@ -412,6 +412,9 @@ void encode_bcd_number(const char *number, unsigned char *out); gboolean sms_decode(const unsigned char *pdu, int len, gboolean outgoing, int tpdu_len, struct sms *out); +gboolean sms_decode_unpacked_stk_pdu(const unsigned char *pdu, int len, + struct sms *out); + gboolean sms_encode(const struct sms *in, int *len, int *tpdu_len, unsigned char *pdu); |