add capture_comment to the capture_options structure

svn path=/trunk/; revision=50943
This commit is contained in:
Martin Kaiser 2013-07-27 16:13:29 +00:00
parent 234cd8dac4
commit e04a12af8c
2 changed files with 4 additions and 0 deletions

View File

@ -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;

View File

@ -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 */