2 * Console support for MSWindows
4 * Wireshark - Network traffic analyzer
5 * By Gerald Combs <gerald@wireshark.org>
6 * Copyright 2002, Jeffrey C. Foster <jfoste@woodward.com>
8 * SPDX-License-Identifier: GPL-2.0-or-later
11 #ifndef __CONSOLE_WIN32_H__
12 #define __CONSOLE_WIN32_H__
16 #endif /* __cplusplus */
21 * Win32 specific console.
24 /** Create Windows console.
27 void create_console(void);
29 /** Destroy Windows console.
32 void destroy_console(void);
34 /** Set console wait. GTK+ only.
35 * @param console_wait set/no set console wait
37 void set_console_wait(gboolean console_wait);
39 * @return set/no set console wait
41 gboolean get_console_wait(void);
43 /** Set has console. GTK+ only.
44 * @param has_console set/no set has_console
46 void set_has_console(gboolean has_console);
48 gboolean get_has_console(void);
50 /** Set stdin capture.
51 * @param console_wait set/no stdin_capture
53 void set_stdin_capture(gboolean set_stdin_capture);
56 * @return set/no set stdin_capture
58 gboolean get_stdin_capture(void);
63 #endif /* __cplusplus */
65 #endif /* __CONSOLE_WIN32_H__ */
68 * Editor modelines - https://www.wireshark.org/tools/modelines.html
73 * indent-tabs-mode: nil
76 * vi: set shiftwidth=4 tabstop=8 expandtab:
77 * :indentSize=4:tabSize=8:noTabs=true: