summaryrefslogtreecommitdiff
path: root/file.c
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2005-02-04 08:42:39 +0000
committerUlf Lamping <ulf.lamping@web.de>2005-02-04 08:42:39 +0000
commit10ee9093c8913a0505516a78a1ac0fa4b13b2810 (patch)
tree76fa3db0b96238250ac301677fcb65169b5c725c /file.c
parent9f171b0485efc6755668224724f0a202a360903c (diff)
downloadwireshark-10ee9093c8913a0505516a78a1ac0fa4b13b2810.tar.gz
remove #include "globals.h" and access to global cfile, use access functions and capture_opts instead
svn path=/trunk/; revision=13284
Diffstat (limited to 'file.c')
-rw-r--r--file.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/file.c b/file.c
index a5a395fd6d..7de1d489e6 100644
--- a/file.c
+++ b/file.c
@@ -746,6 +746,10 @@ void cf_set_rfcode(capture_file *cf, dfilter_t *rfcode)
cf->rfcode = rfcode;
}
+gchar *cf_get_cfilter(capture_file *cf)
+{
+ return cf->cfilter;
+}
typedef struct {
color_filter_t *colorf;