/**
|
* \file
|
* File System Watcher internal calls
|
*
|
* Authors:
|
* Gonzalo Paniagua Javier (gonzalo@ximian.com)
|
*
|
* (C) 2004 Novell, Inc. (http://www.novell.com)
|
*/
|
|
#ifndef _MONO_METADATA_FILEWATCHER_H
|
#define _MONO_METADATA_FILEWATCHER_H
|
|
#include <mono/metadata/object.h>
|
#include "mono/utils/mono-compiler.h"
|
#include <glib.h>
|
|
#ifdef HAVE_UNISTD_H
|
#include <unistd.h>
|
#endif
|
|
G_BEGIN_DECLS
|
|
gint ves_icall_System_IO_FSW_SupportsFSW (void);
|
|
gboolean ves_icall_System_IO_FAMW_InternalFAMNextEvent (gpointer conn,
|
MonoString **filename,
|
gint *code,
|
gint *reqnum);
|
|
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
|