summaryrefslogtreecommitdiff
path: root/extcap.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2016-02-26 17:04:05 -0800
committerGuy Harris <guy@alum.mit.edu>2016-02-27 01:04:33 +0000
commit842a9b510074c896e54735e2e3a575ea802f23ea (patch)
treee8243fc0a53911a9e8759d308a7cef3c4ec36438 /extcap.h
parent60f87ca919a6bfedfdb8b4728f7f221eb6b8af15 (diff)
downloadwireshark-842a9b510074c896e54735e2e3a575ea802f23ea.tar.gz
Replace extcap_interface_list() with append_extcap_interface_list().
Pull the "rebuild the list of extcap interfaces and, optionally, return a list of if_infos for them" into a separate extcap_reload_interface_list() routine, call it in the cases where we don't want the if_infos list, and have append_extcap_interface_list() call it, asking it for the if_infos list, and then append the interfaces to that list. Change-Id: I07478ab133859484b3e0916144971639f961224b Reviewed-on: https://code.wireshark.org/review/14189 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'extcap.h')
-rw-r--r--extcap.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/extcap.h b/extcap.h
index d63cb17cb5..9701ae52e3 100644
--- a/extcap.h
+++ b/extcap.h
@@ -72,8 +72,8 @@ if_capabilities_t *
extcap_get_if_dlts(const gchar * ifname, char ** err_str);
/* append a list of all extcap capture interfaces to the specified list */
-void
-extcap_interface_list(GList **listp, char **err_str);
+GList *
+append_extcap_interface_list(GList *list, char **err_str);
/* get a list of all available extcap tools */
GHashTable *