aboutsummaryrefslogtreecommitdiffstats
path: root/caputils/capture-pcap-util-int.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2020-03-15 02:55:45 -0700
committerGuy Harris <guy@alum.mit.edu>2020-03-15 10:13:39 +0000
commit0f0e486b91b7173409c70957955f39e69f613432 (patch)
tree1ac64639880bc37278823a58805ed86c2f94a2ac /caputils/capture-pcap-util-int.h
parentc939ef82468e17b1379979efa839be3a04a6827b (diff)
Put common code into get_interface_list_findalldevs_ex().
Remove duplication of code. Change-Id: I7cd1bd73ee9eda962a37468cadb72de291f1ec6a Reviewed-on: https://code.wireshark.org/review/36432 Petri-Dish: Guy Harris <guy@alum.mit.edu> Tested-by: Petri Dish Buildbot Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'caputils/capture-pcap-util-int.h')
-rw-r--r--caputils/capture-pcap-util-int.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/caputils/capture-pcap-util-int.h b/caputils/capture-pcap-util-int.h
index 789f96dfdf..efeb467409 100644
--- a/caputils/capture-pcap-util-int.h
+++ b/caputils/capture-pcap-util-int.h
@@ -15,8 +15,9 @@ extern if_info_t *if_info_new(const char *name, const char *description,
gboolean loopback);
extern void if_info_add_address(if_info_t *if_info, struct sockaddr *addr);
#ifdef HAVE_PCAP_REMOTE
-extern GList *get_interface_list_findalldevs_ex(const char *source,
- struct pcap_rmtauth *auth, int *err, char **err_str);
+extern GList *get_interface_list_findalldevs_ex(const char *hostname,
+ const char *port, int auth_type, const char *username, const char *passwd,
+ int *err, char **err_str);
#endif /* HAVE_PCAP_REMOTE */
extern GList *get_interface_list_findalldevs(int *err, char **err_str);