From bbbff2f61f8c1020b43c3e178006e75bdc188605 Mon Sep 17 00:00:00 2001 From: guy Date: Sat, 29 Jun 2002 09:45:06 +0000 Subject: 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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5798 f5534014-38df-0310-8fa8-9805f1628bb7 --- print.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'print.h') diff --git a/print.h b/print.h index 08283b8294..990c03a314 100644 --- a/print.h +++ b/print.h @@ -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 * @@ -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 */ -- cgit v1.2.3