*
* $Id$
*
- * Ethereal - Network traffic analyzer
- * By Gerald Combs <gerald@ethereal.com>
+ * Wireshark - Network traffic analyzer
+ * By Gerald Combs <gerald@wireshark.org>
* Copyright 1998 Gerald Combs
*
* This program is free software; you can redistribute it and/or
#define __PCAP_UTIL_INT_H__
#ifdef HAVE_LIBPCAP
+#ifdef HAVE_PCAP_REMOTE
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+#include <pcap.h>
+#endif
extern if_info_t *if_info_new(char *name, char *description);
extern void if_info_add_address(if_info_t *if_info, struct sockaddr *addr);
#ifdef HAVE_PCAP_FINDALLDEVS
-extern GList *get_interface_list_findalldevs(int *err, char *err_str);
+#ifdef HAVE_PCAP_REMOTE
+extern GList *get_interface_list_findalldevs_ex(const char *source,
+ struct pcap_rmtauth *auth, int *err, char **err_str);
+#else
+extern GList *get_interface_list_findalldevs(int *err, char **err_str);
+#endif
#endif
+/*
+ * Get an error message string for a CANT_GET_INTERFACE_LIST error from
+ * "get_interface_list()". This is used to let the error message string
+ * be platform-dependent.
+ */
+extern gchar *cant_get_if_list_error_message(const char *err_str);
+
#endif /* HAVE_LIBPCAP */
#endif /* __PCAP_UTIL_INT_H__ */