aboutsummaryrefslogtreecommitdiffstats
path: root/cfile.h
diff options
context:
space:
mode:
authorulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>2005-02-06 21:20:35 +0000
committerulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>2005-02-06 21:20:35 +0000
commit96fabeeccd641f39fd111449dfcae39911179510 (patch)
tree0ed850112dc342fd11812f8dba14fa2cb1a08b33 /cfile.h
parent52cf3bd14b0efec832eed195520e6e83f9fd292d (diff)
another two steps towards privilege seperation:
move another two capture related fields (iface and cfilter) from cfile to capture_opts also move the handling of capture related command line options from main.c to capture.c, that way a future privilege seperated capture program can use the same code to parse it's command line than Ethereal. It might be even possible to share this parser code even with Tethereal, didn't took a closer look at this. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@13320 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'cfile.h')
-rw-r--r--cfile.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/cfile.h b/cfile.h
index 0a16fa23d2..3dc11d4da4 100644
--- a/cfile.h
+++ b/cfile.h
@@ -60,14 +60,10 @@ typedef struct _capture_file {
guint32 eusec; /* Elapsed microseconds */
gboolean has_snap; /* TRUE if maximum capture packet length is known */
int snap; /* Maximum captured packet length */
- gchar *iface; /* Interface */
wtap *wth; /* Wiretap session */
- dfilter_t *rfcode; /* Compiled read filter program */
+ dfilter_t *rfcode; /* Compiled read (display) filter program */
gchar *dfilter; /* Display filter string */
dfilter_t *dfcode; /* Compiled display filter program */
-#ifdef HAVE_LIBPCAP
- gchar *cfilter; /* Capture filter string */
-#endif
gchar *sfilter; /* Search filter string */
gboolean sbackward; /* TRUE if search is backward, FALSE if forward */
gboolean hex; /* TRUE is raw data search is being performed */