diff options
author | gerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7> | 2007-06-11 03:58:58 +0000 |
---|---|---|
committer | gerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7> | 2007-06-11 03:58:58 +0000 |
commit | 5e9ae70b739fde17ca73452a866900abb843c54f (patch) | |
tree | 34b32715c097282a72bc20784529bf82c5e01b0e /capture_opts.h | |
parent | 3214a73332b86ab380f046e4bab2329433ea871c (diff) |
One more step in privilege separation.
Add a capture_interface_list(), which works similar to
get_interface_list() except that it forks dumpcap instead of calling
the pcap routines directly. Use it in the GUI.
Add a "-I" flag to dumpcap, which prints out verbose interface
information.
Tested under Windows and Linux.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@22071 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'capture_opts.h')
-rw-r--r-- | capture_opts.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/capture_opts.h b/capture_opts.h index ed797e6ea7..4cb76eb1a3 100644 --- a/capture_opts.h +++ b/capture_opts.h @@ -24,7 +24,7 @@ /** @file - * + * * Capture options (all parameters needed to do the actual capture) * */ @@ -118,14 +118,14 @@ capture_opts_list_link_layer_types(capture_options *capture_opts); /* list interfaces */ extern int -capture_opts_list_interfaces(void); +capture_opts_list_interfaces(gboolean verbose); /* trim the snaplen entry */ -extern void +extern void capture_opts_trim_snaplen(capture_options *capture_opts, int snaplen_min); /* trim the ring_num_files entry */ -extern void +extern void capture_opts_trim_ring_num_files(capture_options *capture_opts); /* trim the interface entry */ |