2 * Declarations of routines to manage the global list of interfaces and to
3 * update widgets/windows displaying items from those lists
5 * Wireshark - Network traffic analyzer
6 * By Gerald Combs <gerald@wireshark.org>
7 * Copyright 1998 Gerald Combs
9 * SPDX-License-Identifier: GPL-2.0-or-later*/
11 #ifndef __IFACE_LISTS_H__
12 #define __IFACE_LISTS_H__
16 #endif /* __cplusplus */
20 * Used when sorting an interface list into alphabetical order by
23 extern gint if_list_comparator_alph(const void *first_arg, const void *second_arg);
26 * Get the global interface list. Generate it if we haven't
29 extern void fill_in_local_interfaces(void(*update_cb)(void));
32 * Update the global interface list.
34 extern void scan_local_interfaces(void (*update_cb)(void));
39 extern void hide_interface(gchar* new_hide);
42 * Update the global interface list from preferences.
44 extern void update_local_interfaces(void);
46 #endif /* HAVE_LIBPCAP */
50 #endif /* __cplusplus */
52 #endif /* __IFACE_LISTS_H__ */
60 * indent-tabs-mode: nil
63 * ex: set shiftwidth=4 tabstop=8 expandtab:
64 * :indentSize=4:tabSize=8:noTabs=true: