diff options
Diffstat (limited to 'src/mm-sms-utils.h')
-rw-r--r-- | src/mm-sms-utils.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/mm-sms-utils.h b/src/mm-sms-utils.h index 26d9829..46f475b 100644 --- a/src/mm-sms-utils.h +++ b/src/mm-sms-utils.h @@ -22,4 +22,28 @@ GHashTable *sms_parse_pdu (const char *hexpdu, GError **error); +guint8 *sms_create_submit_pdu (const char *number, + const char *text, + const char *smsc, + guint validity, + guint class, + guint *out_pdulen, + guint *out_msgstart, + GError **error); + +GHashTable *sms_properties_hash_new (const char *smsc, + const char *number, + const char *timestamp, + const char *text, + const GByteArray *data, + guint data_coding_scheme, + guint *class); + +/* For testcases only */ +guint sms_encode_address (const char *address, + guint8 *buf, + size_t buflen, + gboolean is_smsc); + + #endif /* MM_SMS_UTILS_H */ |