2002-05-14 Tim Coleman
[mono.git] / mono / io-layer / shared.h
1 /*
2  * shared.h:  Shared memory handle, and daemon launching
3  *
4  * Author:
5  *      Dick Porter (dick@ximian.com)
6  *
7  * (C) 2002 Ximian, Inc.
8  */
9
10 #ifndef _WAPI_SHARED_H_
11 #define _WAPI_SHARED_H_
12
13 struct _WapiScratchHeader 
14 {
15         /* These two can be merged */
16         guint32 flags;
17         guint32 length;
18 };
19
20 enum {
21         WAPI_SHM_SCRATCH_FREE=0x1,
22 };
23
24 #define _WAPI_SHM_SCRATCH_SIZE 409600
25
26 extern gpointer _wapi_shm_attach (gboolean daemon, gboolean *success,
27                                   int *shm_id);
28 extern void _wapi_shm_destroy (void);
29
30 #endif /* _WAPI_SHARED_H_ */