diff options
author | gram <gram@f5534014-38df-0310-8fa8-9805f1628bb7> | 1999-11-22 06:24:56 +0000 |
---|---|---|
committer | gram <gram@f5534014-38df-0310-8fa8-9805f1628bb7> | 1999-11-22 06:24:56 +0000 |
commit | 4564f849c6de7591b60756378316f46f29c1d163 (patch) | |
tree | ed13166754e04deb5f4d93f80a6b7e5bb4dce422 /util.h | |
parent | a2c7358d7a7c921bb5ea75c94d14eac86da06315 (diff) |
A "character encoding" variable is now set per packet. The existence
of SNA in a packet changes the character encoding from the default ASCII
to EBCDIC.
The hex-printing routines in the GUI code and in the printing code convert
to EBCDIC if appropriate.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1089 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'util.h')
-rw-r--r-- | util.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,7 +1,7 @@ /* util.h * Utility definitions * - * $Id: util.h,v 1.12 1999/10/19 04:11:16 gram Exp $ + * $Id: util.h,v 1.13 1999/11/22 06:24:42 gram Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -49,7 +49,9 @@ void simple_dialog(gint, gint *, gchar *, ...); int create_tempfile(char *, int, const char *); void ASCII_to_EBCDIC(guint8 *buf, guint bytes); +guint8 ASCII_to_EBCDIC1(guint8 c); void EBCDIC_to_ASCII(guint8 *buf, guint bytes); +guint8 EBCDIC_to_ASCII1(guint8 c); #ifdef __cplusplus } |