From 399c8212543cbeadd00aa69cd090856ca1f7e64a Mon Sep 17 00:00:00 2001 From: Ulf Lamping Date: Mon, 28 Feb 2005 22:46:49 +0000 Subject: Another step towards using the parent/child mode for ALL captures. This is currently still disabled, as we cannot pass all required capture flags to the child process (lack of command line parameters). svn path=/trunk/; revision=13558 --- capture.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'capture.h') diff --git a/capture.h b/capture.h index 6e880e9985..8c5f017394 100644 --- a/capture.h +++ b/capture.h @@ -104,6 +104,12 @@ capture_opts_add_opt(capture_options *capture_opts, const char *appname, int opt */ extern gboolean do_capture(capture_options *capture_opts); +/** + * Read in the newly captured data into the capture_file. + */ +extern gboolean capture_read(capture_options *capture_opts, gboolean is_tempfile, gboolean drops_known, +guint32 drops); + /** Do the low-level work of a capture (start the capture child). * Returns TRUE if it succeeds, FALSE otherwise. */ extern int capture_child_start(capture_options *capture_opts, gboolean *stats_known, struct pcap_stat *stats); -- cgit v1.2.3