X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mono%2Fmetadata%2Ffilewatcher.h;h=605fd0e9ac2503d70c8eb2051e4bf7043adf4846;hb=9a6211315c7540e2a5311556cc2a500cfa9f5f4a;hp=ff2bd92a84372565fe2d81fcdb1c26400bad6ac2;hpb=2007998771b1c4d9e762943676d7959daaf74385;p=mono.git diff --git a/mono/metadata/filewatcher.h b/mono/metadata/filewatcher.h index ff2bd92a843..605fd0e9ac2 100644 --- a/mono/metadata/filewatcher.h +++ b/mono/metadata/filewatcher.h @@ -12,30 +12,16 @@ #include #include +#include "mono/utils/mono-compiler.h" +#include #ifdef HAVE_UNISTD_H #include #endif -#ifdef HAVE_SYS_SYSCALL_H -#include -#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