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"
22 #ifdef HAVE_SYS_SYSCALL_H
23 #include <sys/syscall.h>
28 gboolean
ves_icall_System_IO_FSW_SupportsFSW (void) MONO_INTERNAL
;
30 gboolean
ves_icall_System_IO_FAMW_InternalFAMNextEvent (gpointer conn
,
31 MonoString
**filename
,
33 gint
*reqnum
) MONO_INTERNAL
;
35 int ves_icall_System_IO_InotifyWatcher_GetInotifyInstance (void) MONO_INTERNAL
;
36 int ves_icall_System_IO_InotifyWatcher_AddWatch (int fd
, MonoString
*directory
, gint32 mask
) MONO_INTERNAL
;
37 int ves_icall_System_IO_InotifyWatcher_RemoveWatch (int fd
, gint32 watch_descriptor
) MONO_INTERNAL
;