Make dissection of AVP: 3GPP-User-Location-Info(22) l=15 f=V-- vnd=TGPP val=303231...
[obnox/wireshark/wip.git] / capture_ifinfo.h
index ba97650744361f68abe825f9743f379467c9577e..ea18085bb71c5d3aa0e69ef7fbd5fa925443bb24 100644 (file)
@@ -25,8 +25,6 @@
 #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.
@@ -62,7 +60,6 @@ extern GList *capture_interface_list(int *err, char **err_str);
 /* 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);
 
@@ -74,7 +71,7 @@ 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.
@@ -88,12 +85,12 @@ typedef struct {
 /**
  * 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__ */