[netcore] Make the load hook ALC-aware (#16012)
[mono-project.git] / mono / metadata / filewatcher.h
blob3d484b92f61c0a8f0d8efaa062b80d586b179b3c
1 /**
2 * \file
3 * File System Watcher internal calls
5 * Authors:
6 * Gonzalo Paniagua Javier (gonzalo@ximian.com)
8 * (C) 2004 Novell, Inc. (http://www.novell.com)
9 */
11 #ifndef _MONO_METADATA_FILEWATCHER_H
12 #define _MONO_METADATA_FILEWATCHER_H
14 #include <mono/metadata/object.h>
15 #include "mono/utils/mono-compiler.h"
16 #include <glib.h>
17 #include <mono/metadata/icalls.h>
19 #ifdef HAVE_UNISTD_H
20 #include <unistd.h>
21 #endif
23 #if !ENABLE_NETCORE
25 ICALL_EXPORT
26 gint ves_icall_System_IO_FSW_SupportsFSW (void);
28 ICALL_EXPORT
29 int ves_icall_System_IO_KqueueMonitor_kevent_notimeout (int *kq, gpointer changelist, int nchanges, gpointer eventlist, int nevents);
31 #endif
33 #ifdef HOST_IOS // This will obsoleted by System.Native as soon as it's ported to iOS
34 MONO_API char* SystemNative_RealPath(const char* path);
35 MONO_API void SystemNative_Sync (void);
36 #endif
38 #endif