[w32file] Move MonoIO.Find{First,Next,Close} to managed
[mono.git] / mono / metadata / w32file.h
index 05bfe9fc9293ed9238d837559d2f827dc7cdfaca..54f79a39927e093a6d42e13e913513f8b6bd70b6 100644 (file)
@@ -1,5 +1,6 @@
-/*
- * w32file.h: File IO internal calls
+/**
+ * \file
+ * File IO internal calls
  *
  * Authors:
  *     Dick Porter (dick@ximian.com)
@@ -16,7 +17,6 @@
 #include <config.h>
 #include <glib.h>
 
-#include "io-layer/io-layer.h"
 #include <mono/metadata/object-internals.h>
 #include <mono/utils/mono-compiler.h>
 
@@ -120,12 +120,6 @@ ves_icall_System_IO_MonoIO_CreateDirectory (MonoString *path, gint32 *error);
 extern MonoBoolean
 ves_icall_System_IO_MonoIO_RemoveDirectory (MonoString *path, gint32 *error);
 
-MonoArray *
-ves_icall_System_IO_MonoIO_GetFileSystemEntries (MonoString *path,
-                                                MonoString *path_with_pattern,
-                                                gint mask, gint attrs,
-                                                gint32 *error);
-
 extern gpointer
 ves_icall_System_IO_MonoIO_FindFirstFile (MonoString *path_with_pattern,
                                                MonoString **file_name,
@@ -141,18 +135,6 @@ ves_icall_System_IO_MonoIO_FindNextFile (gpointer hnd,
 extern MonoBoolean
 ves_icall_System_IO_MonoIO_FindCloseFile (gpointer hnd);
 
-extern MonoString *
-ves_icall_System_IO_MonoIO_FindFirst (MonoString *path,
-                                     MonoString *path_with_pattern,
-                                     gint32 *result_mask,
-                                     gint32 *error,
-                                     gpointer *handle);
-extern MonoString *
-ves_icall_System_IO_MonoIO_FindNext (gpointer handle, gint32 *result_mask, gint32 *error);
-
-extern int
-ves_icall_System_IO_MonoIO_FindClose (gpointer handle);
-
 extern MonoString *
 ves_icall_System_IO_MonoIO_GetCurrentDirectory (gint32 *error);
 
@@ -390,6 +372,9 @@ mono_w32file_cleanup (void);
 gpointer
 mono_w32file_create(const gunichar2 *name, guint32 fileaccess, guint32 sharemode, guint32 createmode, guint32 attrs);
 
+gboolean
+mono_w32file_close (gpointer handle);
+
 gboolean
 mono_w32file_delete (const gunichar2 *name);