aboutsummaryrefslogtreecommitdiffstats
path: root/ui/iface_lists.h
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2015-12-02 09:13:40 +0100
committerStig Bjørlykke <stig@bjorlykke.org>2015-12-02 11:33:24 +0000
commit92a2661d949b1fed78affd87c6e80b537ce49dfe (patch)
tree448cebb1d9c2169087b7d6e3d3c20022487b518d /ui/iface_lists.h
parent631172f2f4046255a78a5628b5499f38054039bb (diff)
ui: Update interfaces when when changing profile.
The interfaces preferences are different for each profile so ensure we update the interface settings when changing profile. This bug was introduced in version 1.8.0. Change-Id: Icf22670875e01bab6204c300ddc7fb8aeb3dcecf Reviewed-on: https://code.wireshark.org/review/12363 Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
Diffstat (limited to 'ui/iface_lists.h')
-rw-r--r--ui/iface_lists.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/ui/iface_lists.h b/ui/iface_lists.h
index 125be9981b..0c40f02f17 100644
--- a/ui/iface_lists.h
+++ b/ui/iface_lists.h
@@ -46,7 +46,16 @@ extern void fill_in_local_interfaces(void(*update_cb)(void));
*/
extern void scan_local_interfaces(void (*update_cb)(void));
+/*
+ * Hide the interfaces
+ */
extern void hide_interface(gchar* new_hide);
+
+/*
+ * Update the global interface list from preferences.
+ */
+extern void update_local_interfaces(void);
+
#endif /* HAVE_LIBPCAP */
#ifdef __cplusplus