#ifndef __CAPTURE_IFINFO_H__
#define __CAPTURE_IFINFO_H__
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
/*
* The list of interfaces returned by "get_interface_list()" is
* a list of these structures.
/* Error values from "get_interface_list()/capture_interface_list()". */
#define CANT_GET_INTERFACE_LIST 1 /* error getting list */
#define NO_INTERFACES_FOUND 2 /* list is empty */
+#define DONT_HAVE_PCAP 3 /* couldn't load WinPcap */
void free_interface_list(GList *if_list);
void free_if_capabilities(if_capabilities_t *caps);
+void add_interface_to_remote_list(if_info_t *if_info);
+
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+
#endif /* __CAPTURE_IFINFO_H__ */