Wireshark  2.9.0-477-g68ec514b
The Wireshark network protocol analyzer
console.h
1 /* console.h
2  * Console log handler routines
3  *
4  * Wireshark - Network traffic analyzer
5  * By Gerald Combs <gerald@wireshark.org>
6  * Copyright 1998 Gerald Combs
7  *
8  * SPDX-License-Identifier: GPL-2.0-or-later
9  */
10 
11 #ifndef __CONSOLE_H__
12 #define __CONSOLE_H__
13 
14 #ifdef _WIN32 /* Needed for console I/O */
15 #include <fcntl.h>
16 #include <conio.h>
17 #include <ui/win32/console_win32.h>
18 #endif
19 
20 #ifdef __cplusplus
21 extern "C" {
22 #endif /* __cplusplus */
23 
26 void set_console_log_handler(void);
27 
28 #ifdef __cplusplus
29 }
30 #endif /* __cplusplus */
31 
32 #endif /* __CONSOLE_H__ */
33 
34 /*
35  * Editor modelines
36  *
37  * Local Variables:
38  * c-basic-offset: 4
39  * tab-width: 8
40  * indent-tabs-mode: nil
41  * End:
42  *
43  * ex: set shiftwidth=4 tabstop=8 expandtab:
44  * :indentSize=4:tabSize=8:noTabs=true:
45  */