aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
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 /file.c
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 'file.c')
-rw-r--r--file.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/file.c b/file.c
index 43c3990322..250370bc61 100644
--- a/file.c
+++ b/file.c
@@ -669,6 +669,18 @@ void cf_set_drops(capture_file *cf, guint32 drops)
cf->drops = drops;
}
+/* XXX - use a macro instead? */
+gboolean cf_get_drops_known(capture_file *cf)
+{
+ return cf->drops_known;
+}
+
+/* XXX - use a macro instead? */
+guint32 cf_get_drops(capture_file *cf)
+{
+ return cf->drops;
+}
+
void cf_set_rfcode(capture_file *cf, dfilter_t *rfcode)
{
cf->rfcode = rfcode;