aboutsummaryrefslogtreecommitdiffstats
path: root/epan/charsets.h
diff options
context:
space:
mode:
authorJakub Zawadzki <darkjames@darkjames.pl>2014-04-24 21:56:43 +0200
committerAnders Broman <a.broman58@gmail.com>2014-04-25 04:17:58 +0000
commit4bd8336017373bef48ee18c20829a06734ffad3b (patch)
tree3465d84e0ce95a57b6ca3b47b2d6e6c348c076ff /epan/charsets.h
parent75cb2675fd6b95d3635b0b2a81b0e2d8c1ad715f (diff)
Move GSM guint8 to unicode conversion functions to charsets.c
charsets.c is already place with huge number of conversion tables. Also make gsm_default_alphabet gunichar2, all values fits in 2 bytes. Change-Id: Ia5ab6c176b4fec21ec76b06513c1d00794ba10ef Reviewed-on: https://code.wireshark.org/review/1328 Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/charsets.h')
-rw-r--r--epan/charsets.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/epan/charsets.h b/epan/charsets.h
index 8b6f752b8b..40ec9d9034 100644
--- a/epan/charsets.h
+++ b/epan/charsets.h
@@ -37,6 +37,12 @@ void EBCDIC_to_ASCII(guint8 *buf, guint bytes);
WS_DLL_PUBLIC
guint8 EBCDIC_to_ASCII1(guint8 c);
+WS_DLL_PUBLIC gunichar
+GSM_to_UNICHAR(guint8 c);
+
+WS_DLL_PUBLIC gunichar
+GSMext_to_UNICHAR(guint8 c);
+
/*
* Translation tables that map the upper 128 code points in single-byte
* "extended ASCII" character encodings to Unicode code points in the