diff options
author | Chris Maynard <Christopher.Maynard@GTECH.COM> | 2013-06-19 15:22:56 +0000 |
---|---|---|
committer | Chris Maynard <Christopher.Maynard@GTECH.COM> | 2013-06-19 15:22:56 +0000 |
commit | 909d2eb3090c773d271097d2c9dc5e164aa2f03b (patch) | |
tree | 23e926d38c1b4cf03da4c2adaa2ddc5dac5810ce /print.h | |
parent | 54d58d66f71496a23c948144e1ad9fccad9fe39a (diff) |
Allow for column headers not to be printed in order to make it possible to export packets as plain text in a format that could then have a chance of being imported again (assuming other factors such as packet bytes were printed, etc.) in order to recover the original pcap file.
Fixes https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1636
svn path=/trunk/; revision=50036
Diffstat (limited to 'print.h')
-rw-r--r-- | print.h | 24 |
1 files changed, 12 insertions, 12 deletions
@@ -95,20 +95,20 @@ typedef enum { } print_dissections_e; typedef struct { - print_stream_t *stream; /* the stream to which we're printing */ - print_format_e format; /* plain text or PostScript */ - gboolean to_file; /* TRUE if we're printing to a file */ - char *file; /* file output pathname */ - char *cmd; /* print command string (not win32) */ + print_stream_t *stream; /* the stream to which we're printing */ + print_format_e format; /* plain text or PostScript */ + gboolean to_file; /* TRUE if we're printing to a file */ + char *file; /* file output pathname */ + char *cmd; /* print command string (not win32) */ packet_range_t range; - gboolean print_summary; /* TRUE if we should just print summary; - FALSE if we should print protocol tree. */ - 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 */ + gboolean print_summary; /* TRUE if we should print summary line. */ + gboolean print_col_headings; /* TRUE if we should print column headings */ + print_dissections_e print_dissections; + gboolean print_hex; /* TRUE if we should 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; /* |