aboutsummaryrefslogtreecommitdiffstats
path: root/capture.h
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2005-02-28 22:46:49 +0000
committerUlf Lamping <ulf.lamping@web.de>2005-02-28 22:46:49 +0000
commit399c8212543cbeadd00aa69cd090856ca1f7e64a (patch)
tree8209e606f3916a26eca6e7d97362bb4bf137ac75 /capture.h
parent88ffe080662114e43b002a8cd3dd279b6a3ccdc1 (diff)
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
Diffstat (limited to 'capture.h')
-rw-r--r--capture.h6
1 files changed, 6 insertions, 0 deletions
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);