Merge pull request #3092 from alexanderkyte/mobile_static_fix_runtime_tests
[mono-project.git] / mono / metadata / console-io.h
blob54ee88204637c491d83ec9e7207404bba1aab863
1 /*
2 * console-io.h: Console IO internal calls
4 * Author:
5 * Gonzalo Paniagua Javier (gonzalo@ximian.com)
7 * Copyright (c) 2005 Novell, Inc. (http://www.novell.com)
8 * Licensed under the MIT license. See LICENSE file in the project root for full license information.
9 */
11 #ifndef _MONO_METADATA_CONSOLEIO_H
12 #define _MONO_METADATA_CONSOLEIO_H
14 #include <config.h>
15 #include <glib.h>
17 #include <mono/metadata/object.h>
18 #include <mono/io-layer/io-layer.h>
19 #include <mono/utils/mono-compiler.h>
21 G_BEGIN_DECLS
23 void mono_console_init (void);
24 void mono_console_handle_async_ops (void);
25 MonoBoolean ves_icall_System_ConsoleDriver_Isatty (HANDLE handle);
26 gint32 ves_icall_System_ConsoleDriver_InternalKeyAvailable (gint32 timeout);
27 MonoBoolean ves_icall_System_ConsoleDriver_SetEcho (MonoBoolean echo);
28 MonoBoolean ves_icall_System_ConsoleDriver_SetBreak (MonoBoolean want_break);
29 MonoBoolean ves_icall_System_ConsoleDriver_TtySetup (MonoString *keypad, MonoString *teardown, MonoArray **control_characters, int **size);
30 void ves_icall_System_ConsoleDriver_Suspend (void);
32 G_END_DECLS
34 #endif /* _MONO_METADATA_CONSOLEIO_H */