Commit 32350 replaced the self written FindZ.cmake by cmakes
[obnox/wireshark/wip.git] / capture-pcap-util-int.h
index 5eb98d969017824b8f2a58576992bc8114582ebf..e5a1303d64088a387bab80a38da19510ac39610b 100644 (file)
 #ifndef __PCAP_UTIL_INT_H__
 #define __PCAP_UTIL_INT_H__
 
-#ifdef HAVE_LIBPCAP
-
 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);
-#endif
+#ifdef HAVE_PCAP_REMOTE
+extern GList *get_interface_list_findalldevs_ex(const char *source,
+        struct pcap_rmtauth *auth, int *err, char **err_str);
+#endif /* HAVE_PCAP_REMOTE */
+extern GList *get_interface_list_findalldevs(int *err, char **err_str);
+#endif /* HAVE_PCAP_FINDALLDEVS */
 
-#endif /* HAVE_LIBPCAP */
+/*
+ * 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 /* __PCAP_UTIL_INT_H__ */