diff options
author | Ulf Lamping <ulf.lamping@web.de> | 2004-04-22 17:03:21 +0000 |
---|---|---|
committer | Ulf Lamping <ulf.lamping@web.de> | 2004-04-22 17:03:21 +0000 |
commit | 51f987e04f063251198154e2691a99b6281d7c71 (patch) | |
tree | 2a5868f2792d840973716841f329adca8e79f3b7 /print.h | |
parent | f205304ed4b63be05dfd8f8ee1e989e75c773148 (diff) | |
download | wireshark-51f987e04f063251198154e2691a99b6281d7c71.tar.gz wireshark-51f987e04f063251198154e2691a99b6281d7c71.tar.bz2 wireshark-51f987e04f063251198154e2691a99b6281d7c71.zip |
added some options and enhancements to the print output:
-ps: added formatting hints for ghostscript, so pdf conversion will be much better
-ps: print a thin line at the top and bottom of each page
-ps/text: add an option to start a new page for every packet (formfeed)
svn path=/trunk/; revision=10660
Diffstat (limited to 'print.h')
-rw-r--r-- | print.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1,7 +1,7 @@ /* print.h * Definitions for printing packet analysis trees. * - * $Id: print.h,v 1.40 2004/04/20 22:34:08 ulfl Exp $ + * $Id: print.h,v 1.41 2004/04/22 17:03:20 ulfl Exp $ * * Gilbert Ramirez <gram@alumni.rice.edu> * @@ -62,6 +62,8 @@ typedef struct { print_dissections_e print_dissections; gboolean print_hex; /* TRUE if we should also print hex data; FALSE if we should print only if not dissected. */ + gboolean print_formfeed; /* TRUE if a formfeed should be printed + before each new packet */ } print_args_t; /* Functions in print.h */ @@ -69,6 +71,8 @@ typedef struct { FILE *open_print_dest(int to_file, const char *dest); gboolean close_print_dest(int to_file, FILE *fh); void print_preamble(FILE *fh, gint format, gchar *filename); +void print_packet_header(FILE *fh, gint format, guint32 number, gchar *summary); +void print_formfeed(FILE *fh, gint format); void print_finale(FILE *fh, gint format); void proto_tree_print(print_args_t *print_args, epan_dissect_t *edt, FILE *fh); |