diff options
author | Guy Harris <guy@alum.mit.edu> | 2010-05-07 19:24:32 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2010-05-07 19:24:32 +0000 |
commit | 077ff72ac19c4c48a47f914615f3ddc50b086c72 (patch) | |
tree | 2489e60d99c5ab28316218fa2841a88a89fe8a18 /capture_opts.h | |
parent | 66f101f10fd9f48d543060f16f8f66de2de62a67 (diff) | |
download | wireshark-077ff72ac19c4c48a47f914615f3ddc50b086c72.tar.gz wireshark-077ff72ac19c4c48a47f914615f3ddc50b086c72.tar.bz2 wireshark-077ff72ac19c4c48a47f914615f3ddc50b086c72.zip |
As with the list of data link types, so with the list of interfaces; move
the code to print the machine-readable format into dumpcap, and have the
code in capture_opts.c just print the human-readable format.
svn path=/trunk/; revision=32714
Diffstat (limited to 'capture_opts.h')
-rw-r--r-- | capture_opts.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/capture_opts.h b/capture_opts.h index 3b1b869398..fdf7672220 100644 --- a/capture_opts.h +++ b/capture_opts.h @@ -179,9 +179,9 @@ capture_opts_log(const char *log_domain, GLogLevelFlags log_level, capture_optio extern void capture_opts_print_link_layer_types(GList *lt_list); -/* list interfaces */ -extern int -capture_opts_list_interfaces(gboolean machine_readable); +/* print list of interfaces */ +extern void +capture_opts_print_interfaces(GList *if_list); /* trim the snaplen entry */ extern void |