[sgen] Remove debugging printfs.
[mono.git] / mono / metadata / filewatcher.h
index 83f2dc633ff3975295257f936135f373b0b4be06..a17872c93627069719aa4b4a24e745cdfc536561 100644 (file)
 
 #include <mono/metadata/object.h>
 #include <mono/io-layer/io-layer.h>
+#include "mono/utils/mono-compiler.h"
+#include <glib.h>
 
-G_BEGIN_DECLS
-
-gboolean ves_icall_System_IO_FSW_SupportsFSW (void);
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
 
-gpointer ves_icall_System_IO_FSW_OpenDirectory (MonoString *path, gpointer reserved);
+#ifdef HAVE_SYS_SYSCALL_H
+#include <sys/syscall.h>
+#endif
 
-gboolean ves_icall_System_IO_FSW_CloseDirectory (gpointer handle);
+G_BEGIN_DECLS
 
-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) MONO_INTERNAL;
 
 gboolean ves_icall_System_IO_FAMW_InternalFAMNextEvent (gpointer conn,
                                                        MonoString **filename,
                                                        gint *code,
-                                                       gint *reqnum);
+                                                       gint *reqnum) MONO_INTERNAL;
+
+int ves_icall_System_IO_InotifyWatcher_GetInotifyInstance (void) MONO_INTERNAL;
+int ves_icall_System_IO_InotifyWatcher_AddWatch (int fd, MonoString *directory, gint32 mask) MONO_INTERNAL;
+int ves_icall_System_IO_InotifyWatcher_RemoveWatch (int fd, gint32 watch_descriptor) MONO_INTERNAL;
 
 G_END_DECLS