2 * Copyright 2016 Microsoft
3 * Licensed under the MIT license. See LICENSE file in the project root for full license information.
5 #ifndef __MONO_FILE_IO_INTERNALS_H__
6 #define __MONO_FILE_IO_INTERNALS_H__
10 #include "mono/metadata/object.h"
11 #include "mono/metadata/object-internals.h"
14 mono_file_io_move_file (gunichar2 *path, gunichar2 *dest, gint32 *error);
17 mono_file_io_copy_file (gunichar2 *path, gunichar2 *dest, gboolean overwrite, gint32 *error);
20 mono_file_io_get_file_size (HANDLE handle, gint32 *error);
23 mono_file_io_lock_file (HANDLE handle, gint64 position, gint64 length, gint32 *error);
26 mono_file_io_replace_file (gunichar2 *destinationFileName, gunichar2 *sourceFileName,
27 gunichar2 *destinationBackupFileName, guint32 flags, gint32 *error);
30 mono_file_io_unlock_file (HANDLE handle, gint64 position, gint64 length, gint32 *error);
33 mono_file_io_get_console_output (void);
36 mono_file_io_get_console_error (void);
39 mono_file_io_get_console_input (void);
41 #endif /* __MONO_FILE_IO_INTERNALS_H__ */