aboutsummaryrefslogtreecommitdiffstats
path: root/capture.h
diff options
context:
space:
mode:
authorulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>2005-02-28 22:46:49 +0000
committerulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>2005-02-28 22:46:49 +0000
commit7cce55aea3e4ecf2358d386a3562dfbe2e5e899d (patch)
tree8209e606f3916a26eca6e7d97362bb4bf137ac75 /capture.h
parent45f8c4cdac1e468616c417c840452bec74bfa3ff (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). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@13558 f5534014-38df-0310-8fa8-9805f1628bb7
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);