diff options
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); |