forked from osmocom/wireshark
add capture_comment to the capture_options structure
svn path=/trunk/; revision=50943
This commit is contained in:
parent
234cd8dac4
commit
e04a12af8c
|
@ -112,6 +112,7 @@ capture_opts_init(capture_options *capture_opts)
|
|||
capture_opts->autostop_filesize = 1024; /* 1 MB */
|
||||
capture_opts->has_autostop_duration = FALSE;
|
||||
capture_opts->autostop_duration = 60; /* 1 min */
|
||||
capture_opts->capture_comment = NULL;
|
||||
|
||||
capture_opts->output_to_pipe = FALSE;
|
||||
capture_opts->capture_child = FALSE;
|
||||
|
|
|
@ -200,6 +200,9 @@ typedef struct capture_options_tag {
|
|||
is specified */
|
||||
gint32 autostop_duration; /**< Maximum capture duration */
|
||||
|
||||
gchar *capture_comment; /** capture comment to write to the
|
||||
output file */
|
||||
|
||||
/* internally used (don't touch from outside) */
|
||||
gboolean output_to_pipe; /**< save_file is a pipe (named or stdout) */
|
||||
gboolean capture_child; /**< hidden option: Wireshark child mode */
|
||||
|
|
Loading…
Reference in New Issue