aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
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 /file.c
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 '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;