diff options
author | Michael Tüxen <tuexen@fh-muenster.de> | 2011-10-20 19:44:40 +0000 |
---|---|---|
committer | Michael Tüxen <tuexen@fh-muenster.de> | 2011-10-20 19:44:40 +0000 |
commit | c219f2eea54ef19c811bc1294416fb6b30a046f8 (patch) | |
tree | cced8090a0b70bd451688295b593f651386440d4 /gtk/main_welcome.h | |
parent | 3c1f16f904b786a6e98325362ae95b80ac41819f (diff) |
Back out infrastructure change. We missed supporting
stdin and pipes.
svn path=/trunk/; revision=39498
Diffstat (limited to 'gtk/main_welcome.h')
-rw-r--r-- | gtk/main_welcome.h | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/gtk/main_welcome.h b/gtk/main_welcome.h index 16cb217cf2..566f7669e2 100644 --- a/gtk/main_welcome.h +++ b/gtk/main_welcome.h @@ -40,6 +40,15 @@ typedef struct selected_name_s { 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 */ @@ -51,8 +60,6 @@ void main_welcome_add_recent_capture_file(const char *widget_cf_name, GObject *m /* reload the list of interfaces */ void welcome_if_panel_reload(void); -void welcome_if_tree_load(void); - /** Push a status message into the welcome screen header similar to * statusbar_push_*_msg(). This hides everything under the header. * If msg is dynamically allocated, it is up to the caller to free @@ -78,10 +85,10 @@ void change_interface_selection(gchar* name, gboolean activate); void change_selection_for_all(gboolean enable); -void update_welcome_list(void); - #ifdef HAVE_PCAP_REMOTE -void add_interface_to_list(guint index); +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__ */ |