3 * Declarations of routines to manage the global list of interfaces and to
4 * update widgets/windows displaying items from those lists
6 * Wireshark - Network traffic analyzer
7 * By Gerald Combs <gerald@wireshark.org>
8 * Copyright 1998 Gerald Combs
10 * SPDX-License-Identifier: GPL-2.0-or-later
13 #ifndef __IFACE_LISTS_H__
14 #define __IFACE_LISTS_H__
18 #endif /* __cplusplus */
22 * Get the global interface list. Generate it if we haven't
25 extern void fill_in_local_interfaces(void(*update_cb
)(void));
28 * Get the global interface list. Generate it if we haven't
30 * @param allowed_types only fill in types provided by the list
32 extern void fill_in_local_interfaces_filtered(GList
* allowed_types
, void(*update_cb
)(void));
35 * Update the global interface list.
37 extern void scan_local_interfaces(void (*update_cb
)(void));
40 * Update the global interface list.
41 * @param allowed_types only fill in types provided by the list
43 extern void scan_local_interfaces_filtered(GList
* allowed_types
, void (*update_cb
)(void));
48 extern void hide_interface(char* new_hide
);
51 * Update the global interface list from preferences.
53 extern void update_local_interfaces(void);
55 #endif /* HAVE_LIBPCAP */
59 #endif /* __cplusplus */
61 #endif /* __IFACE_LISTS_H__ */