aboutsummaryrefslogtreecommitdiffstats
path: root/capture_sync.h
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2004-12-29 09:09:35 +0000
committerUlf Lamping <ulf.lamping@web.de>2004-12-29 09:09:35 +0000
commit2ed93e96bd6c630a9171ea5d5217098fbfa76746 (patch)
treede1cdbec9c926a405377e4e9006c3bfcd8d5161b /capture_sync.h
parentf1deabed568a18c05afdca5f4898fc9e13f71e91 (diff)
Don't use a global capture_opts in the capturing engine (this isn't a good idea). Do some more "housekeeping" in the capturing part.
Hopefully the unspecified forward declaration of capture_options_t in main.h is portable, but buildbot will tell me. This way I need the internals of that struct only at the places I really use it. svn path=/trunk/; revision=12853
Diffstat (limited to 'capture_sync.h')
-rw-r--r--capture_sync.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/capture_sync.h b/capture_sync.h
index b82fcd4b4b..2daed7bc5c 100644
--- a/capture_sync.h
+++ b/capture_sync.h
@@ -41,11 +41,12 @@
*
* Most of the parameters are passed through the global capture_opts.
*
+ * @param capture_opts the options (formerly global)
* @param is_tempfile TRUE if the current cfile is a tempfile
* @return TRUE if a capture could be started, FALSE if not
*/
extern gboolean
-sync_pipe_do_capture(gboolean is_tempfile);
+sync_pipe_do_capture(capture_options *capture_opts, gboolean is_tempfile);
/** User wants to stop capturing, gracefully close the capture child */
extern void