2005-04-06 Atsushi Enomoto <atsushi@ximian.com>
[mono.git] / mono / metadata / filewatcher.h
1 /*
2  * filewatcher.h: File System Watcher internal calls
3  *
4  * Authors:
5  *      Gonzalo Paniagua Javier (gonzalo@ximian.com)
6  *
7  * (C) 2004 Novell, Inc. (http://www.novell.com)
8  */
9
10 #ifndef _MONO_METADATA_FILEWATCHER_H
11 #define _MONO_METADATA_FILEWATCHER_H
12
13 #include <mono/metadata/object.h>
14 #include <mono/io-layer/io-layer.h>
15
16 G_BEGIN_DECLS
17
18 gboolean ves_icall_System_IO_FSW_SupportsFSW (void);
19
20 gpointer ves_icall_System_IO_FSW_OpenDirectory (MonoString *path, gpointer reserved);
21
22 gboolean ves_icall_System_IO_FSW_CloseDirectory (gpointer handle);
23
24 gboolean ves_icall_System_IO_FSW_ReadDirectoryChanges (
25                                                 gpointer handle,
26                                                 MonoArray *buffer,
27                                                 gboolean includeSubdirs,
28                                                 gint filters,
29                                                 gpointer overlap,
30                                                 gpointer callback);
31
32 gboolean ves_icall_System_IO_FAMW_InternalFAMNextEvent (gpointer conn,
33                                                         MonoString **filename,
34                                                         gint *code,
35                                                         gint *reqnum);
36
37 G_END_DECLS
38
39 #endif
40