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 --- file.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'file.c') 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; -- cgit v1.2.3