From 08bbd29c71b8068e419f95a7a8cb7332ef0a3a3d Mon Sep 17 00:00:00 2001 From: Tomas Kukosa Date: Tue, 4 Dec 2007 11:19:29 +0000 Subject: Support for RPCAP features in GUI (from Boris Misenov, see Bug 1366) - retrieving the list of remote PCAP interfaces - password authentication support - UDP data fransfer - packet sampling (available in WinPcap 4.x) etc. fix problem if non-default rpcap port is used svn path=/trunk/; revision=23750 --- capture-pcap-util.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'capture-pcap-util.h') diff --git a/capture-pcap-util.h b/capture-pcap-util.h index 6de58441a9..259a8ed48c 100644 --- a/capture-pcap-util.h +++ b/capture-pcap-util.h @@ -68,6 +68,11 @@ typedef struct { } if_addr_t; GList *get_interface_list(int *err, char **err_str); +#ifdef HAVE_PCAP_REMOTE +GList *get_remote_interface_list(const char *hostname, const char *port, + int auth_type, const char *username, + const char *passwd, int *err, char **err_str); +#endif /* Error values from "get_interface_list()/capture_interface_list()". */ #define CANT_GET_INTERFACE_LIST 1 /* error getting list */ -- cgit v1.2.3