diff options
author | Ulf Lamping <ulf.lamping@web.de> | 2004-12-29 09:09:35 +0000 |
---|---|---|
committer | Ulf Lamping <ulf.lamping@web.de> | 2004-12-29 09:09:35 +0000 |
commit | 2ed93e96bd6c630a9171ea5d5217098fbfa76746 (patch) | |
tree | de1cdbec9c926a405377e4e9006c3bfcd8d5161b /capture_sync.h | |
parent | f1deabed568a18c05afdca5f4898fc9e13f71e91 (diff) | |
download | wireshark-2ed93e96bd6c630a9171ea5d5217098fbfa76746.tar.gz wireshark-2ed93e96bd6c630a9171ea5d5217098fbfa76746.tar.bz2 wireshark-2ed93e96bd6c630a9171ea5d5217098fbfa76746.zip |
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.h | 3 |
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 |