diff options
author | Gilbert Ramirez <gram@alumni.rice.edu> | 1999-11-22 06:24:56 +0000 |
---|---|---|
committer | Gilbert Ramirez <gram@alumni.rice.edu> | 1999-11-22 06:24:56 +0000 |
commit | 942b69ce9abe7cfa1709a098339167062476cb84 (patch) | |
tree | ed13166754e04deb5f4d93f80a6b7e5bb4dce422 /print.h | |
parent | f94d38cbd3864dfb32ed0f1202d56ac29620b2f3 (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.
svn path=/trunk/; revision=1089
Diffstat (limited to 'print.h')
-rw-r--r-- | print.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,7 +1,7 @@ /* print.h * Definitions for printing packet analysis trees. * - * $Id: print.h,v 1.14 1999/10/30 06:41:36 guy Exp $ + * $Id: print.h,v 1.15 1999/11/22 06:24:41 gram Exp $ * * Gilbert Ramirez <gram@verdict.uthscsa.edu> * @@ -50,6 +50,6 @@ void print_file(FILE* fh, const char* filename); void proto_tree_print(gboolean print_one_packet, print_args_t *print_args, GNode *protocol_tree, const u_char *pd, frame_data *fd, FILE *fh); void print_hex_data(FILE *fh, register const u_char *cp, - register u_int length); + register u_int length, char_enc encoding); #endif /* print.h */ |