diff options
author | Gerald Combs <gerald@wireshark.org> | 2007-06-11 03:58:58 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2007-06-11 03:58:58 +0000 |
commit | e9f1a0b692e19854f9e550e56e6a4dd392d316ac (patch) | |
tree | 34b32715c097282a72bc20784529bf82c5e01b0e /capture_opts.h | |
parent | f07a01dd510a6ae5fb963123195c4f0e203216aa (diff) | |
download | wireshark-e9f1a0b692e19854f9e550e56e6a4dd392d316ac.tar.gz |
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.
svn path=/trunk/; revision=22071
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 */ |