diff options
author | Guy Harris <guy@alum.mit.edu> | 2002-06-29 09:45:06 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2002-06-29 09:45:06 +0000 |
commit | 7dc9756921325232a4eb99837bebbdfa4cd2689d (patch) | |
tree | aa8897ea19a81bdeee140299bffdbd5e5733990c /print.h | |
parent | 6b2bdd3a6ef97b19ac83e816c38da0fd36cf213f (diff) | |
download | wireshark-7dc9756921325232a4eb99837bebbdfa4cd2689d.tar.gz wireshark-7dc9756921325232a4eb99837bebbdfa4cd2689d.tar.bz2 wireshark-7dc9756921325232a4eb99837bebbdfa4cd2689d.zip |
Have "print_line()" take an indentation argument, and do blank
padding when printing text and use "putline" when printing PostScript.
Eliminate "hexdump", as it's just a special case of "putline".
Have "proto_tree_print_node()" just call "print_line()".
Get rid of "print_ps_hex()" - the font used for the hex dump and the
protocol tree are the same, so there's no need to switch fonts.
svn path=/trunk/; revision=5798
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.27 2002/06/04 07:03:47 guy Exp $ + * $Id: print.h,v 1.28 2002/06/29 09:45:06 guy Exp $ * * Gilbert Ramirez <gram@alumni.rice.edu> * @@ -59,6 +59,6 @@ void print_finale(FILE *fh, gint format); void proto_tree_print(print_args_t *print_args, epan_dissect_t *edt, FILE *fh); void print_hex_data(FILE *fh, gint format, epan_dissect_t *edt); -void print_line(FILE *fh, gint format, char *line); +void print_line(FILE *fh, int indent, gint format, char *line); #endif /* print.h */ |