diff options
author | ulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7> | 2005-12-05 21:26:01 +0000 |
---|---|---|
committer | ulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7> | 2005-12-05 21:26:01 +0000 |
commit | 21d9ab26fd75072e21b1a8ef7b06634052f37635 (patch) | |
tree | e76a77d89ea92bedaaa38546939a37af4ddc09c8 /capture_opts.h | |
parent | aeff6d66afd57fa54b461144046ae70eab75db78 (diff) |
add capture_opts_trim(), as this sequence is used three times now (will replace the other appearances later) ...
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@16683 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'capture_opts.h')
-rw-r--r-- | capture_opts.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/capture_opts.h b/capture_opts.h index 2708f80e61..e75535afd1 100644 --- a/capture_opts.h +++ b/capture_opts.h @@ -101,9 +101,14 @@ typedef struct capture_options_tag { extern void capture_opts_init(capture_options *capture_opts, void *cfile); +/* set a command line option value */ extern void capture_opts_add_opt(capture_options *capture_opts, int opt, const char *optarg, gboolean *start_capture); +/* trim values after command line finished */ +extern void +capture_opts_trim(capture_options *capture_opts, int snaplen_min); + /* log content of capture_opts */ extern void capture_opts_log(const char *log_domain, GLogLevelFlags log_level, capture_options *capture_opts); |