Wireshark 2.9.0-477-g68ec514b The Wireshark network protocol analyzer

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

capture-wpcap.h
1 /* capture-wpcap.h
2 *
3 * Wireshark - Network traffic analyzer
4 * By Gerald Combs <gerald@wireshark.org>
5 * Copyright 2001 Gerald Combs
6 *
7 * SPDX-License-Identifier: GPL-2.0-or-later
8 */
9
10 #ifndef CAPTURE_WPCAP_H
11 #define CAPTURE_WPCAP_H
12
13 #ifdef __cplusplus
14 extern "C" {
15 #endif /* __cplusplus */
16
17 extern gboolean has_wpcap;
18
19 extern void load_wpcap(void);
20
21 /* error message, if WinPcap couldn't be loaded */
22 /* will use g_strdup, don't forget to g_free the returned string! */
23 extern char *cant_load_winpcap_err(const char *app_name);
24
30 gboolean npf_sys_is_running(void);
31
32 #ifdef __cplusplus
33 }
34 #endif /* __cplusplus */
35
36 #endif /* CAPTURE_WPCAP_H */