2010-04-07 Rodrigo Kumpera <rkumpera@novell.com>
[mono.git] / mono / metadata / console-io.h
blobe8c8407a946c00cd4d43ee57cecbb7ff94dbec1c
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 */
10 #ifndef _MONO_METADATA_CONSOLEIO_H
11 #define _MONO_METADATA_CONSOLEIO_H
13 #include <config.h>
14 #include <glib.h>
16 #include <mono/metadata/object.h>
17 #include <mono/io-layer/io-layer.h>
19 G_BEGIN_DECLS
21 void mono_console_init (void) MONO_INTERNAL;
22 MonoBoolean ves_icall_System_ConsoleDriver_Isatty (HANDLE handle) MONO_INTERNAL;
23 gint32 ves_icall_System_ConsoleDriver_InternalKeyAvailable (gint32 timeout) MONO_INTERNAL;
24 MonoBoolean ves_icall_System_ConsoleDriver_SetEcho (MonoBoolean echo) MONO_INTERNAL;
25 MonoBoolean ves_icall_System_ConsoleDriver_SetBreak (MonoBoolean want_break) MONO_INTERNAL;
26 MonoBoolean ves_icall_System_ConsoleDriver_TtySetup (MonoString *keypad, MonoString *teardown, MonoArray **control_characters, int **size) MONO_INTERNAL;
27 void ves_icall_System_ConsoleDriver_Suspend (void) MONO_INTERNAL;
29 void console_restore_signal_handlers (void);
30 void console_set_signal_handlers (void);
32 G_END_DECLS
34 #endif /* _MONO_METADATA_CONSOLEIO_H */