diff options
author | Luis Ontanon <luis.ontanon@gmail.com> | 2013-06-27 17:10:50 +0000 |
---|---|---|
committer | Luis Ontanon <luis.ontanon@gmail.com> | 2013-06-27 17:10:50 +0000 |
commit | 0bdc0efc46ec66a298306aae253225c702ed6bea (patch) | |
tree | 1d6db93f3252994330777f123cb3d038518080e9 /ui/iface_lists.h | |
parent | b450609a5561db9ddfc23b41c742979f5c4b3a32 (diff) |
get main_window_update out of the way... pass an update_cb to the capture_sync stuff
... as per the XXX comment removed from tshark.c this was a mess to keep the linker
happy... I couldn't!
I did this without even understanding whether calling main_window_update was realy
necessary in most cases. I guess nothing or more specific update cbs would be best.
svn path=/trunk/; revision=50188
Diffstat (limited to 'ui/iface_lists.h')
-rw-r--r-- | ui/iface_lists.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/iface_lists.h b/ui/iface_lists.h index 8cc4888783..7930ab6c37 100644 --- a/ui/iface_lists.h +++ b/ui/iface_lists.h @@ -41,12 +41,12 @@ extern gint if_list_comparator_alph(const void *first_arg, const void *second_ar * Get the global interface list. Generate it if we haven't * done so already. */ -extern void fill_in_local_interfaces(void); +extern void fill_in_local_interfaces(void(*update_cb)(void)); /* * Update the global interface list. */ -extern void scan_local_interfaces(void); +extern void scan_local_interfaces(void (*update_cb)(void)); extern void hide_interface(gchar* new_hide); #endif /* HAVE_LIBPCAP */ |