#ifndef __CAPTURE_IFINFO_H__
#define __CAPTURE_IFINFO_H__
-#ifdef HAVE_LIBPCAP
-
/*
* 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 CANT_RUN_DUMPCAP 3 /* problem running dumpcap */
void free_interface_list(GList *if_list);
typedef struct {
gboolean can_set_rfmon; /* TRUE if can be put into monitor mode */
GList *data_link_types; /* GList of data_link_info_t's */
-} if_caps_t;
+} if_capabilities_t;
/*
* Information about data link types.
/**
* Fetch the linktype list for the specified interface from a child process.
*/
-extern if_caps_t *
+extern if_capabilities_t *
capture_get_if_capabilities(const char *devname, gboolean monitor_mode,
char **err_str);
-void free_if_capabilities(if_caps_t *caps);
+void free_if_capabilities(if_capabilities_t *caps);
-#endif /* HAVE_LIBPCAP */
+void add_interface_to_remote_list(if_info_t *if_info);
#endif /* __CAPTURE_IFINFO_H__ */