2 * wapi-private.h: internal definitions of handles and shared memory layout
5 * Dick Porter (dick@ximian.com)
7 * (C) 2002-2006 Novell, Inc.
10 #ifndef _WAPI_PRIVATE_H_
11 #define _WAPI_PRIVATE_H_
17 #include <mono/io-layer/wapi.h>
18 #include <mono/io-layer/io.h>
20 #include <mono/utils/mono-os-mutex.h>
22 /* There doesn't seem to be a defined symbol for this */
23 #define _WAPI_THREAD_CURRENT (gpointer)0xFFFFFFFE
25 extern gboolean _wapi_has_shut_down;
27 #include <mono/io-layer/io-private.h>
28 #include <mono/io-layer/socket-private.h>
29 #include <mono/metadata/w32handle.h>
31 struct _WapiHandle_shared_ref
33 /* This will be split 16:16 with the shared file segment in
34 * the top half, when I implement space increases
41 #ifdef WAPI_FILE_SHARE_PLATFORM_EXTRA_DATA
42 WAPI_FILE_SHARE_PLATFORM_EXTRA_DATA
53 typedef struct _WapiFileShare _WapiFileShare;
55 #endif /* _WAPI_PRIVATE_H_ */