2010-04-19 Rodrigo Kumpera <rkumpera@novell.com>
[mono.git] / mono / metadata / filewatcher.h
blobdafff3d374cadef3215f9a092b0145f56ffcbdf3
1 /*
2 * filewatcher.h: File System Watcher internal calls
4 * Authors:
5 * Gonzalo Paniagua Javier (gonzalo@ximian.com)
7 * (C) 2004 Novell, Inc. (http://www.novell.com)
8 */
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"
16 #include <glib.h>
18 #ifdef HAVE_UNISTD_H
19 #include <unistd.h>
20 #endif
22 #ifdef HAVE_SYS_SYSCALL_H
23 #include <sys/syscall.h>
24 #endif
26 G_BEGIN_DECLS
28 gboolean ves_icall_System_IO_FSW_SupportsFSW (void) MONO_INTERNAL;
30 gboolean ves_icall_System_IO_FAMW_InternalFAMNextEvent (gpointer conn,
31 MonoString **filename,
32 gint *code,
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;
39 G_END_DECLS
41 #endif