From b20e0d2bf509942551b12fec83bec5f6bc09e27f Mon Sep 17 00:00:00 2001 From: Yang Gu Date: Fri, 2 Apr 2010 14:20:33 +0800 Subject: Make function decode_scts public --- src/smsutil.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/smsutil.h') diff --git a/src/smsutil.h b/src/smsutil.h index fd80c8fc..469a49e9 100644 --- a/src/smsutil.h +++ b/src/smsutil.h @@ -424,6 +424,9 @@ gboolean sms_encode_address_field(const struct sms_address *in, gboolean sc, guint8 sms_decode_semi_octet(guint8 in); +gboolean sms_decode_scts(const unsigned char *pdu, int len, + int *offset, struct sms_scts *out); + int sms_udl_in_bytes(guint8 ud_len, guint8 dcs); time_t sms_scts_to_time(const struct sms_scts *scts, struct tm *remote); -- cgit v1.2.3