diff options
Diffstat (limited to 'src/smsutil.h')
-rw-r--r-- | src/smsutil.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/smsutil.h b/src/smsutil.h index 4a392665..95d0c78e 100644 --- a/src/smsutil.h +++ b/src/smsutil.h @@ -409,6 +409,13 @@ gboolean sms_decode(const unsigned char *pdu, int len, gboolean outgoing, gboolean sms_encode(const struct sms *in, int *len, int *tpdu_len, unsigned char *pdu); +gboolean sms_decode_address_field(const unsigned char *pdu, int len, + int *offset, gboolean sc, + struct sms_address *out); + +gboolean sms_encode_address_field(const struct sms_address *in, gboolean sc, + unsigned char *pdu, int *offset); + int sms_udl_in_bytes(guint8 ud_len, guint8 dcs); time_t sms_scts_to_time(const struct sms_scts *scts, struct tm *remote); |