Fix the wireless settings button for AirPCap devices in the
[obnox/wireshark/wip.git] / gtk / main_welcome.h
index b867581956c7b606ad96ceb4e09ec856346a5d55..566f7669e272272b56b9536aa4bf295c52425156 100644 (file)
@@ -44,7 +44,9 @@ typedef struct displayed_interface_s {
        gchar *name;
        gchar *descr;
        GtkWidget *icon;
-    remote_options remote_opts;
+#ifdef HAVE_PCAP_REMOTE
+       remote_options remote_opts;
+#endif
 } displayed_interface;
 
 GtkWidget *welcome_new(void);
@@ -83,6 +85,10 @@ void change_interface_selection(gchar* name, gboolean activate);
 
 void change_selection_for_all(gboolean enable);
 
+#ifdef HAVE_PCAP_REMOTE
 void add_interface_to_list(gchar *name, gchar *descr, remote_options *remote_opts);
+#endif
+
+displayed_interface get_interface_data(gint index);
 
 #endif /* __MAIN_WELCOME_H__ */