aboutsummaryrefslogtreecommitdiffstats
path: root/capture.h
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2007-07-20 21:43:07 +0000
committerGerald Combs <gerald@wireshark.org>2007-07-20 21:43:07 +0000
commitc02e0c7b4a2f23916f6bdda16bd124e3a2b83419 (patch)
treea705612afd4276c7aa9f43738667b6b8a7da2520 /capture.h
parentc1a4caf1b24b7ce38434f8963b3590013912697b (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. svn path=/trunk/; revision=22367
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 */