aboutsummaryrefslogtreecommitdiffstats
path: root/capture.h
diff options
context:
space:
mode:
authorgerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>2007-07-20 21:43:07 +0000
committergerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>2007-07-20 21:43:07 +0000
commite6bc685f19494dc1a46fdf437bd61e224f77c88d (patch)
treea705612afd4276c7aa9f43738667b6b8a7da2520 /capture.h
parentdcdeebf9b08509cf7f3d1f60a128bd81131abb6a (diff)
Remove the "-I" flag from dumpcap, and add a "-M" flag used to specify
that "-D" and "-L" should produce machine-readable output. Use this to move an indirect get_pcap_linktype() call from the GUI to dumpcap. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@22367 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'capture.h')
-rw-r--r--capture.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/capture.h b/capture.h
index f94883c561..9ced0542a8 100644
--- a/capture.h
+++ b/capture.h
@@ -86,5 +86,10 @@ extern void capture_input_closed(capture_options *capture_opts);
*/
extern GList *capture_interface_list(int *err, char **err_str);
+/**
+ * Fetch the linktype list for the specified interface from a child process.
+ */
+extern GList *capture_pcap_linktype_list(char *devname, char **err_str);
+
#endif /* capture.h */