From 697e533e23e237cfba07b7054f5e4ab29e4227e2 Mon Sep 17 00:00:00 2001 From: Alexander Tarasikov Date: Fri, 13 Jul 2012 16:30:35 +0400 Subject: Move SmsCodingScheme to utils.c for future reuse --- util.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'util.h') 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 -- cgit v1.2.3