2 * filewatcher.h: File System Watcher internal calls
5 * Gonzalo Paniagua Javier (gonzalo@ximian.com)
7 * (C) 2004 Novell, Inc. (http://www.novell.com)
10 #ifndef _MONO_METADATA_FILEWATCHER_H
11 #define _MONO_METADATA_FILEWATCHER_H
13 #include <mono/metadata/object.h>
14 #include <mono/io-layer/io-layer.h>
15 #include "mono/utils/mono-compiler.h"
24 gint ves_icall_System_IO_FSW_SupportsFSW (void);
26 gboolean ves_icall_System_IO_FAMW_InternalFAMNextEvent (gpointer conn,
27 MonoString **filename,
31 int ves_icall_System_IO_InotifyWatcher_GetInotifyInstance (void);
32 int ves_icall_System_IO_InotifyWatcher_AddWatch (int fd, MonoString *directory, gint32 mask);
33 int ves_icall_System_IO_InotifyWatcher_RemoveWatch (int fd, gint32 watch_descriptor);
35 int ves_icall_System_IO_KqueueMonitor_kevent_notimeout (int *kq, gpointer changelist, int nchanges, gpointer eventlist, int nevents);