[runtime] Fix DISABLE_REFLECTION_EMIT build.
[mono.git] / mono / metadata / filewatcher.h
index ff2bd92a84372565fe2d81fcdb1c26400bad6ac2..2a0f8b0e62c08abbc3b858803c678ca9708d6618 100644 (file)
@@ -1,5 +1,6 @@
-/*
- * filewatcher.h: File System Watcher internal calls
+/**
+ * \file
+ * File System Watcher internal calls
  *
  * Authors:
  *     Gonzalo Paniagua Javier (gonzalo@ximian.com)
 #define _MONO_METADATA_FILEWATCHER_H
 
 #include <mono/metadata/object.h>
-#include <mono/io-layer/io-layer.h>
+#include "mono/utils/mono-compiler.h"
+#include <glib.h>
 
 #ifdef HAVE_UNISTD_H
 #include <unistd.h>
 #endif
 
-#ifdef HAVE_SYS_SYSCALL_H
-#include <sys/syscall.h>
-#endif
-
 G_BEGIN_DECLS
 
-gboolean ves_icall_System_IO_FSW_SupportsFSW (void);
-
-gpointer ves_icall_System_IO_FSW_OpenDirectory (MonoString *path, gpointer reserved);
-
-gboolean ves_icall_System_IO_FSW_CloseDirectory (gpointer handle);
-
-gboolean ves_icall_System_IO_FSW_ReadDirectoryChanges (
-                                               gpointer handle,
-                                               MonoArray *buffer,
-                                               gboolean includeSubdirs,
-                                               gint filters,
-                                               gpointer overlap,
-                                               gpointer callback);
+gint ves_icall_System_IO_FSW_SupportsFSW (void);
 
 gboolean ves_icall_System_IO_FAMW_InternalFAMNextEvent (gpointer conn,
                                                        MonoString **filename,
@@ -46,6 +32,8 @@ int ves_icall_System_IO_InotifyWatcher_GetInotifyInstance (void);
 int ves_icall_System_IO_InotifyWatcher_AddWatch (int fd, MonoString *directory, gint32 mask);
 int ves_icall_System_IO_InotifyWatcher_RemoveWatch (int fd, gint32 watch_descriptor);
 
+int ves_icall_System_IO_KqueueMonitor_kevent_notimeout (int *kq, gpointer changelist, int nchanges, gpointer eventlist, int nevents);
+
 G_END_DECLS
 
 #endif