summaryrefslogtreecommitdiffstats
path: root/src/smsutil.h
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2010-11-02 13:40:03 -0500
committerDenis Kenzior <denkenz@gmail.com>2010-11-02 14:58:21 -0500
commit2cc92d80e6f7f52c85209e93e1234deb7b131960 (patch)
tree6c7610856f396697031b96f0dd1609ca1058f6e5 /src/smsutil.h
parente29d1338b946fd5295f3de27cf43611dd9af4996 (diff)
downloadofono-2cc92d80e6f7f52c85209e93e1234deb7b131960.tar.bz2
smsutil: Add sms_datagram_prepare
Diffstat (limited to 'src/smsutil.h')
-rw-r--r--src/smsutil.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/smsutil.h b/src/smsutil.h
index dd6c0ad3..4b053136 100644
--- a/src/smsutil.h
+++ b/src/smsutil.h
@@ -520,6 +520,13 @@ GSList *sms_text_prepare(const char *to, const char *utf8, guint16 ref,
gboolean use_16bit,
gboolean use_delivery_reports);
+GSList *sms_datagram_prepare(const char *to,
+ const unsigned char *data, unsigned int len,
+ guint16 ref, gboolean use_16bit_ref,
+ unsigned short src, unsigned short dst,
+ gboolean use_16bit_port,
+ gboolean use_delivery_reports);
+
gboolean cbs_dcs_decode(guint8 dcs, gboolean *udhi, enum sms_class *cls,
enum sms_charset *charset, gboolean *compressed,
enum cbs_language *language, gboolean *iso639);