X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mono%2Fmetadata%2Fconsole-io.h;h=c5c572e58acfd40eabef646ccdf0e4f93931bc38;hb=91149fb1e524882128d180a9ba5f4d0f13e31521;hp=b28d3f5423edf20a5796c3f5363542417b315658;hpb=a10d8c3e0037bec723d47dcc93d44ad937579b24;p=mono.git diff --git a/mono/metadata/console-io.h b/mono/metadata/console-io.h index b28d3f5423e..c5c572e58ac 100644 --- a/mono/metadata/console-io.h +++ b/mono/metadata/console-io.h @@ -1,10 +1,12 @@ -/* - * console-io.h: Console IO internal calls +/** + * \file + * Console IO internal calls * * Author: * Gonzalo Paniagua Javier (gonzalo@ximian.com) * * Copyright (c) 2005 Novell, Inc. (http://www.novell.com) + * Licensed under the MIT license. See LICENSE file in the project root for full license information. */ #ifndef _MONO_METADATA_CONSOLEIO_H @@ -14,20 +16,18 @@ #include #include -#include +#include G_BEGIN_DECLS -MonoBoolean ves_icall_System_ConsoleDriver_Isatty (HANDLE handle) MONO_INTERNAL; -gint32 ves_icall_System_ConsoleDriver_InternalKeyAvailable (gint32 timeout) MONO_INTERNAL; -MonoBoolean ves_icall_System_ConsoleDriver_SetEcho (MonoBoolean echo) MONO_INTERNAL; -MonoBoolean ves_icall_System_ConsoleDriver_SetBreak (MonoBoolean want_break) MONO_INTERNAL; -MonoBoolean ves_icall_System_ConsoleDriver_TtySetup (MonoString *teardown, char *verase, char *vsusp, char *intr) MONO_INTERNAL; -MonoBoolean ves_icall_System_ConsoleDriver_GetTtySize (HANDLE handle, gint32 *width, gint32 *height) MONO_INTERNAL; -void ves_icall_System_ConsoleDriver_Suspend (void) MONO_INTERNAL; - -void console_restore_signal_handlers (void); -void console_set_signal_handlers (void); +void mono_console_init (void); +void mono_console_handle_async_ops (void); +MonoBoolean ves_icall_System_ConsoleDriver_Isatty (gpointer handle); +gint32 ves_icall_System_ConsoleDriver_InternalKeyAvailable (gint32 timeout); +MonoBoolean ves_icall_System_ConsoleDriver_SetEcho (MonoBoolean echo); +MonoBoolean ves_icall_System_ConsoleDriver_SetBreak (MonoBoolean want_break); +MonoBoolean ves_icall_System_ConsoleDriver_TtySetup (MonoString *keypad, MonoString *teardown, MonoArray **control_characters, int **size); +void ves_icall_System_ConsoleDriver_Suspend (void); G_END_DECLS