Fix the wireless settings button for AirPCap devices in the
[obnox/wireshark/wip.git] / gtk / main_welcome.h
index b7da8adff4b479c1cc20b3e038f5a0192c12502b..566f7669e272272b56b9536aa4bf295c52425156 100644 (file)
@@ -25,6 +25,8 @@
 #ifndef __MAIN_WELCOME_H__
 #define __MAIN_WELCOME_H__
 
+#include "gtk/capture_dlg.h"
+
 enum
 {
   ICON = 0,
@@ -37,6 +39,16 @@ typedef struct selected_name_s {
   gchar *name;
   gboolean activate;
 } selected_name_t;
+
+typedef struct displayed_interface_s {
+       gchar *name;
+       gchar *descr;
+       GtkWidget *icon;
+#ifdef HAVE_PCAP_REMOTE
+       remote_options remote_opts;
+#endif
+} displayed_interface;
+
 GtkWidget *welcome_new(void);
 
 /* reset the list of recently used files */
@@ -71,4 +83,12 @@ GtkWidget* get_welcome_window(void);
 
 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__ */