2009-02-25 Zoltan Varga <vargaz@gmail.com>
[mono-debugger.git] / mono / io-layer / io-private.h
blobb15f24e460f6c7212c7ee1413903ada329644916
1 /*
2 * io-private.h: Private definitions for file, console and find handles
4 * Author:
5 * Dick Porter (dick@ximian.com)
7 * (C) 2002 Ximian, Inc.
8 */
10 #ifndef _WAPI_IO_PRIVATE_H_
11 #define _WAPI_IO_PRIVATE_H_
13 #include <config.h>
14 #include <glib.h>
15 #ifdef HAVE_DIRENT_H
16 #include <dirent.h>
17 #endif
19 #include <mono/io-layer/io.h>
20 #include <mono/io-layer/wapi-private.h>
22 extern struct _WapiHandleOps _wapi_file_ops;
23 extern struct _WapiHandleOps _wapi_console_ops;
24 extern struct _WapiHandleOps _wapi_find_ops;
25 extern struct _WapiHandleOps _wapi_pipe_ops;
27 extern void _wapi_file_details (gpointer handle_info);
28 extern void _wapi_console_details (gpointer handle_info);
29 extern void _wapi_pipe_details (gpointer handle_info);
31 /* Currently used for both FILE, CONSOLE and PIPE handle types. This may
32 * have to change in future.
34 struct _WapiHandle_file
36 gchar *filename;
37 struct _WapiFileShare *share_info; /* Pointer into shared mem */
38 guint32 security_attributes;
39 guint32 fileaccess;
40 guint32 sharemode;
41 guint32 attrs;
44 struct _WapiHandle_find
46 gchar **namelist;
47 gchar *dir_part;
48 int num;
49 size_t count;
52 #endif /* _WAPI_IO_PRIVATE_H_ */