aboutsummaryrefslogtreecommitdiffstats
path: root/file.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 /file.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 'file.h')
-rw-r--r--file.h18
1 files changed, 1 insertions, 17 deletions
diff --git a/file.h b/file.h
index 4ab49dcec1..ee47fee173 100644
--- a/file.h
+++ b/file.h
@@ -97,7 +97,7 @@ cf_read_status_t cf_read(capture_file *cf);
* @param err the error code, if an error had occured
* @return one of cf_status_t
*/
-cf_status_t cf_start_tail(capture_file *cf, const char *fname, gboolean is_tempfile, int *err);
+cf_status_t cf_start_tail(capture_file *cf, const char *fname, const char *iface, gboolean is_tempfile, int *err);
/**
* Read packets from the "end" of a capture file.
@@ -154,22 +154,6 @@ int cf_packet_count(capture_file *cf);
gboolean cf_is_tempfile(capture_file *cf);
/**
- * Get the interface name to capture from.
- *
- * @param cf the capture file
- * @return the interface name (don't have to be g_free'd)
- */
-gchar *cf_get_iface(capture_file *cf);
-
-/**
- * Get the capture filter of this capture file.
- *
- * @param cf the capture file
- * @return the capture filter (don't have to be g_free'd)
- */
-gchar *cf_get_cfilter(capture_file *cf);
-
-/**
* Set flag, if the number of packet drops while capturing are known or not.
*
* @param cf the capture file