[io-layer] Allocate WapiHandle specific data on the heap
[mono.git] / mono / io-layer / shared.h
index 91af59ae9b7c4938971642290008933b32d7ddb5..204f50661ff4eff220f0d9ba4f5c427c5e4c5a2b 100644 (file)
@@ -4,15 +4,15 @@
  * Author:
  *     Dick Porter (dick@ximian.com)
  *
- * (C) 2002 Ximian, Inc.
+ * (C) 2002-2006 Novell, Inc.
  */
 
 #ifndef _WAPI_SHARED_H_
 #define _WAPI_SHARED_H_
 
-#include <mono/io-layer/wapi-private.h>
-
-extern gpointer _wapi_shm_attach (void);
-extern gpointer _wapi_fileshare_shm_attach (void);
+extern void _wapi_shm_semaphores_init (void);
+extern int _wapi_shm_sem_lock (int sem);
+extern int _wapi_shm_sem_trylock (int sem);
+extern int _wapi_shm_sem_unlock (int sem);
 
 #endif /* _WAPI_SHARED_H_ */