diff options
author | Guido Günther <agx@sigxcpu.org> | 2014-02-05 08:38:27 +0100 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2014-02-05 08:38:27 +0100 |
commit | 14d771b90f5a7d3887e5e900d1fb4737477ad305 (patch) | |
tree | f382e3359d20916ae60d28361e59635e373224f8 /src/mm-sms-utils.h | |
parent | a09050a7f63a262bf90dcb1c7a41f9cfd205db43 (diff) |
Imported Upstream version 0.5.2.0upstream/0.5.2.0
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 */ |