Wireshark  2.9.0-477-g68ec514b
The Wireshark network protocol analyzer
console_win32.h
1 /* console_win32.h
2  * Console support for MSWindows
3  *
4  * Wireshark - Network traffic analyzer
5  * By Gerald Combs <gerald@wireshark.org>
6  * Copyright 2002, Jeffrey C. Foster <jfoste@woodward.com>
7  *
8  * SPDX-License-Identifier: GPL-2.0-or-later
9  */
10 
11 #ifndef __CONSOLE_WIN32_H__
12 #define __CONSOLE_WIN32_H__
13 
14 #ifdef __cplusplus
15 extern "C" {
16 #endif /* __cplusplus */
17 
18 #ifdef _WIN32
19 
27 void create_console(void);
28 
32 void destroy_console(void);
33 
37 void set_console_wait(gboolean console_wait);
41 gboolean get_console_wait(void);
42 
46 void set_has_console(gboolean has_console);
47 
48 gboolean get_has_console(void);
49 
53 void set_stdin_capture(gboolean set_stdin_capture);
54 
58 gboolean get_stdin_capture(void);
59 #endif/* _WIN32 */
60 
61 #ifdef __cplusplus
62 }
63 #endif /* __cplusplus */
64 
65 #endif /* __CONSOLE_WIN32_H__ */
66 
67 /*
68  * Editor modelines - https://www.wireshark.org/tools/modelines.html
69  *
70  * Local variables:
71  * c-basic-offset: 4
72  * tab-width: 8
73  * indent-tabs-mode: nil
74  * End:
75  *
76  * vi: set shiftwidth=4 tabstop=8 expandtab:
77  * :indentSize=4:tabSize=8:noTabs=true:
78  */