From 4bd8336017373bef48ee18c20829a06734ffad3b Mon Sep 17 00:00:00 2001 From: Jakub Zawadzki Date: Thu, 24 Apr 2014 21:56:43 +0200 Subject: 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 --- epan/charsets.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'epan/charsets.h') 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 -- cgit v1.2.3