summaryrefslogtreecommitdiffstats
path: root/util.h
diff options
context:
space:
mode:
authorAlexander Tarasikov <alexander.tarasikov@gmail.com>2012-07-13 16:30:35 +0400
committerAlexander Tarasikov <alexander.tarasikov@gmail.com>2012-07-13 16:30:35 +0400
commit697e533e23e237cfba07b7054f5e4ab29e4227e2 (patch)
tree53e1ccc7d7fae2f3e1cd72f1d6771eb6af44d637 /util.h
parent98a8d340281ed71aaa0130accd0061d818d46199 (diff)
downloadhardware_replicant_libsamsung-ril-697e533e23e237cfba07b7054f5e4ab29e4227e2.tar.gz
hardware_replicant_libsamsung-ril-697e533e23e237cfba07b7054f5e4ab29e4227e2.tar.bz2
hardware_replicant_libsamsung-ril-697e533e23e237cfba07b7054f5e4ab29e4227e2.zip
Move SmsCodingScheme to utils.c for future reuse
Diffstat (limited to 'util.h')
-rw-r--r--util.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/util.h b/util.h
index fc858d4..9d5e51b 100644
--- a/util.h
+++ b/util.h
@@ -28,4 +28,12 @@ int ascii2gsm7(char *data, unsigned char **data_enc, int length);
void hex_dump(void *data, int size);
int utf8_write(char *utf8, int offset, int v);
+typedef enum {
+ SMS_CODING_SCHEME_UNKNOWN = 0,
+ SMS_CODING_SCHEME_GSM7,
+ SMS_CODING_SCHEME_UCS2
+} SmsCodingScheme;
+
+SmsCodingScheme sms_get_coding_scheme(int dataCoding);
+
#endif