update epan/dissectors/pidl/drsuapi/drsuapi.idl from samba
[wireshark-sm.git] / ui / iface_lists.h
blobb012452115e13c093bc02c5956dc84303e3895f8
1 /** @file
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__
16 #ifdef __cplusplus
17 extern "C" {
18 #endif /* __cplusplus */
20 #ifdef HAVE_LIBPCAP
22 * Get the global interface list. Generate it if we haven't
23 * done so already.
25 extern void fill_in_local_interfaces(void(*update_cb)(void));
28 * Get the global interface list. Generate it if we haven't
29 * done so already.
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));
46 * Hide the interfaces
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 */
57 #ifdef __cplusplus
59 #endif /* __cplusplus */
61 #endif /* __IFACE_LISTS_H__ */