diff options
author | Martin Kaiser <wireshark@kaiser.cx> | 2013-07-27 16:13:29 +0000 |
---|---|---|
committer | Martin Kaiser <wireshark@kaiser.cx> | 2013-07-27 16:13:29 +0000 |
commit | e04a12af8c02c409a0e8c06146988de0795aa029 (patch) | |
tree | 1f67ecd9ea612d39981d37dea98e73b0aceac74a | |
parent | 234cd8dac4d97ca9babdd513597ea97d3749935a (diff) | |
download | wireshark-e04a12af8c02c409a0e8c06146988de0795aa029.tar.gz |
add capture_comment to the capture_options structure
svn path=/trunk/; revision=50943
-rw-r--r-- | capture_opts.c | 1 | ||||
-rw-r--r-- | capture_opts.h | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/capture_opts.c b/capture_opts.c index eea7b3afb2..51b8be74cc 100644 --- a/capture_opts.c +++ b/capture_opts.c @@ -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; diff --git a/capture_opts.h b/capture_opts.h index 4cd77c63c5..df8c622794 100644 --- a/capture_opts.h +++ b/capture_opts.h @@ -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 */ |