summaryrefslogtreecommitdiff
path: root/ui/gtk/capture_if_dlg.h
diff options
context:
space:
mode:
authorMichael Tüxen <tuexen@fh-muenster.de>2012-01-24 16:05:26 +0000
committerMichael Tüxen <tuexen@fh-muenster.de>2012-01-24 16:05:26 +0000
commit08d67854125c80c95478e4de75c4a201a2e4145d (patch)
treecb50582f4c3e70cae4fc3de712152dfe4416d607 /ui/gtk/capture_if_dlg.h
parent73cefbad157acd5e5b39e994eeabfe12fc3bedc9 (diff)
downloadwireshark-08d67854125c80c95478e4de75c4a201a2e4145d.tar.gz
Second try. This time pipes and stdin are supported.
Use a global list containing all interfaces and only change properties of the entries when changes are made in the GUI. Do not misuse the list of interfaces specified on the command line anymore. This patch does not provide any new functionality, it just provides the base for future extensions like removing remote interface, mulitple airpcap devices and multiple pipes. This patch was provided by Irene Ruengeler. svn path=/trunk/; revision=40693
Diffstat (limited to 'ui/gtk/capture_if_dlg.h')
-rw-r--r--ui/gtk/capture_if_dlg.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/ui/gtk/capture_if_dlg.h b/ui/gtk/capture_if_dlg.h
index 3c2f2359d0..a100b4c52a 100644
--- a/ui/gtk/capture_if_dlg.h
+++ b/ui/gtk/capture_if_dlg.h
@@ -48,10 +48,10 @@ capture_if_cb(GtkWidget *widget, gpointer data);
* Used to retrieve the interface icon
*/
GtkWidget *
-capture_get_if_icon(const if_info_t* if_info);
+capture_get_if_icon(interface_t *device);
void
-update_selected_interface(gchar *name, gboolean activate);
+update_selected_interface(gchar *name);
gboolean
interfaces_dialog_window_present(void);
@@ -65,6 +65,9 @@ select_all_interfaces(gboolean enable);
void
destroy_if_window(void);
+gint
+if_list_comparator_alph (const void *first_arg, const void *second_arg);
+
#endif /* HAVE_LIBPCAP */
#endif /* capture_if_dlg.h */