path: root/capture_opts.h
diff options
authorUlf Lamping <ulf.lamping@web.de>2005-12-05 21:26:01 +0000
committerUlf Lamping <ulf.lamping@web.de>2005-12-05 21:26:01 +0000
commite1ee12bc718ac5ad506cd4504d2cede1bfde9809 (patch)
treee76a77d89ea92bedaaa38546939a37af4ddc09c8 /capture_opts.h
parent7e5f31b6a03c9c94d2c2f2308c86a0ee948ab0f4 (diff)
add capture_opts_trim(), as this sequence is used three times now (will replace the other appearances later) ...
svn path=/trunk/; revision=16683
Diffstat (limited to 'capture_opts.h')
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);