aboutsummaryrefslogtreecommitdiffstats
path: root/capture.h
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2005-02-06 00:13:00 +0000
committerUlf Lamping <ulf.lamping@web.de>2005-02-06 00:13:00 +0000
commit97866a968b4c5bc273e986775cdc9cefe52c281f (patch)
tree3b581fbf16b7876759297cd33f0890c1df52b92d /capture.h
parenta9cc1df5516feb8c160e78a0adf0f7cb89f7088e (diff)
instead of initializing the capture_options in main.c, use the new function capture_opts_init
svn path=/trunk/; revision=13315
Diffstat (limited to 'capture.h')
-rw-r--r--capture.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/capture.h b/capture.h
index 6beeac44c3..fb847104e8 100644
--- a/capture.h
+++ b/capture.h
@@ -85,6 +85,10 @@ typedef struct capture_options_tag {
} capture_options;
+/* initialize the capture_options with some reasonable values */
+extern void
+capture_opts_init(capture_options *capture_opts, void *cfile);
+
/**
* Open a specified file, or create a temporary file, and start a capture
* to the file in question.