diff options
author | Aki Niemi <aki.niemi@nokia.com> | 2011-02-03 15:20:34 +0200 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2011-02-03 14:24:00 -0600 |
commit | cd1e58bd20fbbc9ac972524cc8a60c32b9495f99 (patch) | |
tree | a87e02414b44aaa9f40552d5ebe1759e59a978e6 /src/smsutil.h | |
parent | d7d24f55ee6b3a16654991f7fb45c564eb33a8bd (diff) | |
download | ofono-cd1e58bd20fbbc9ac972524cc8a60c32b9495f99.tar.bz2 |
smsutil: Add alphabet support to encoding
Diffstat (limited to 'src/smsutil.h')
-rw-r--r-- | src/smsutil.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/smsutil.h b/src/smsutil.h index 16b5350c..fc81eb11 100644 --- a/src/smsutil.h +++ b/src/smsutil.h @@ -154,6 +154,13 @@ enum sms_charset { SMS_CHARSET_UCS2 = 2, }; +enum sms_alphabet { + SMS_ALPHABET_DEFAULT = 0, + SMS_ALPHABET_TURKISH, + SMS_ALPHABET_SPANISH, + SMS_ALPHABET_PORTUGUESE, +}; + enum sms_mwi_type { SMS_MWI_TYPE_VOICE = 0, SMS_MWI_TYPE_FAX = 1, @@ -538,6 +545,11 @@ GSList *sms_text_prepare(const char *to, const char *utf8, guint16 ref, gboolean use_16bit, gboolean use_delivery_reports); +GSList *sms_text_prepare_with_alphabet(const char *to, const char *utf8, + guint16 ref, gboolean use_16bit, + gboolean use_delivery_reports, + enum sms_alphabet alphabet); + GSList *sms_datagram_prepare(const char *to, const unsigned char *data, unsigned int len, guint16 ref, gboolean use_16bit_ref, |