Wireshark 4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
iface_lists.h
Go to the documentation of this file.
1
13#ifndef __IFACE_LISTS_H__
14#define __IFACE_LISTS_H__
15
16#ifdef __cplusplus
17extern "C" {
18#endif /* __cplusplus */
19
20#ifdef HAVE_LIBPCAP
21/*
22 * Get the global interface list. Generate it if we haven't
23 * done so already.
24 */
25extern void fill_in_local_interfaces(void(*update_cb)(void));
26
27/*
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
31 */
32extern void fill_in_local_interfaces_filtered(GList * allowed_types, void(*update_cb)(void));
33
34/*
35 * Update the global interface list.
36 */
37extern void scan_local_interfaces(void (*update_cb)(void));
38
39/*
40 * Update the global interface list.
41 * @param allowed_types only fill in types provided by the list
42 */
43extern void scan_local_interfaces_filtered(GList * allowed_types, void (*update_cb)(void));
44
45/*
46 * Hide the interfaces
47 */
48extern void hide_interface(char* new_hide);
49
50/*
51 * Update the global interface list from preferences.
52 */
53extern void update_local_interfaces(void);
54
55#endif /* HAVE_LIBPCAP */
56
57#ifdef __cplusplus
58}
59#endif /* __cplusplus */
60
61#endif /* __IFACE_LISTS_H__ */