aboutsummaryrefslogtreecommitdiffstats
path: root/print.h
diff options
context:
space:
mode:
authorChris Maynard <Christopher.Maynard@GTECH.COM>2013-06-19 15:22:56 +0000
committerChris Maynard <Christopher.Maynard@GTECH.COM>2013-06-19 15:22:56 +0000
commit909d2eb3090c773d271097d2c9dc5e164aa2f03b (patch)
tree23e926d38c1b4cf03da4c2adaa2ddc5dac5810ce /print.h
parent54d58d66f71496a23c948144e1ad9fccad9fe39a (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.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/print.h b/print.h
index dd86882521..5011b00159 100644
--- a/print.h
+++ b/print.h
@@ -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;
/*