2 * shared.h: Shared memory handle, and daemon launching
5 * Dick Porter (dick@ximian.com)
7 * (C) 2002 Ximian, Inc.
10 #ifndef _WAPI_SHARED_H_
11 #define _WAPI_SHARED_H_
13 #include <mono/io-layer/wapi-private.h>
15 struct _WapiScratchHeader
17 /* These two can be merged */
23 WAPI_SHM_SCRATCH_FREE=0x1,
31 extern guchar *_wapi_shm_file (_wapi_shm_t type, guint32 segment);
32 extern gpointer _wapi_shm_file_map (_wapi_shm_t type, guint32 segment,
34 extern gpointer _wapi_shm_file_expand (gpointer mem, _wapi_shm_t type,
35 guint32 segment, guint32 old_len,
37 extern gboolean _wapi_shm_attach (struct _WapiHandleShared_list **data,
38 struct _WapiHandleScratch **scratch);
39 extern void _wapi_shm_destroy (void);
41 #endif /* _WAPI_SHARED_H_ */