packet-smb2: maintain a smb2_fid_info per open file
[metze/wireshark/wip.git] / epan / charsets.h
index ff7ea0856a3147d44dce50985c71b18ae5c5e5f1..07456fdac2ef2ab7a20da3afd5405b780a289462 100644 (file)
 extern "C" {
 #endif /* __cplusplus */
 
-#if 0
-void ASCII_to_EBCDIC(guint8 *buf, guint bytes);
-guint8 ASCII_to_EBCDIC1(guint8 c);
-#endif
-WS_DLL_PUBLIC
-void EBCDIC_to_ASCII(guint8 *buf, guint bytes);
-WS_DLL_PUBLIC
-guint8 EBCDIC_to_ASCII1(guint8 c);
-
 /*
  * Translation tables that map the upper 128 code points in single-byte
  * "extended ASCII" character encodings to Unicode code points in the
@@ -97,11 +88,23 @@ get_ucs_4_string(wmem_allocator_t *scope, const guint8 *ptr, gint length, const
 
 WS_DLL_PUBLIC guint8 *
 get_ts_23_038_7bits_string(wmem_allocator_t *scope, const guint8 *ptr,
-       const gint bit_offset, gint no_of_chars);
-       
+        const gint bit_offset, gint no_of_chars);
+
 WS_DLL_PUBLIC guint8 *
 get_ascii_7bits_string(wmem_allocator_t *scope, const guint8 *ptr,
-       const gint bit_offset, gint no_of_chars);
+        const gint bit_offset, gint no_of_chars);
+
+WS_DLL_PUBLIC guint8 *
+get_ebcdic_string(wmem_allocator_t *scope, const guint8 *ptr, gint length);
+
+#if 0
+void ASCII_to_EBCDIC(guint8 *buf, guint bytes);
+guint8 ASCII_to_EBCDIC1(guint8 c);
+#endif
+WS_DLL_PUBLIC
+void EBCDIC_to_ASCII(guint8 *buf, guint bytes);
+WS_DLL_PUBLIC
+guint8 EBCDIC_to_ASCII1(guint8 c);
 
 #ifdef __cplusplus
 }