s390x-codegen.h : Fix instruction definition and add instruction format variant
[mono.git] / mono / io-layer / mutexes.h
index 04e579413bc88bca52180cc0caf7ce31defd552c..ef9e46d9e94351b846a42156da1637830c1c2785 100644 (file)
@@ -1,9 +1,25 @@
+/*
+ * mutexes.h: Mutex handles
+ *
+ * Author:
+ *     Dick Porter (dick@ximian.com)
+ *
+ * (C) 2002 Ximian, Inc.
+ */
+
 #ifndef _WAPI_MUTEXES_H_
 #define _WAPI_MUTEXES_H_
 
 #include <glib.h>
 
-extern WapiHandle *CreateMutex(WapiSecurityAttributes *security, gboolean owned, const guchar *name);
-extern gboolean ReleaseMutex(WapiHandle *handle);
+G_BEGIN_DECLS
+
+extern gpointer CreateMutex (WapiSecurityAttributes *security, gboolean owned,
+                            const gunichar2 *name);
+extern gboolean ReleaseMutex (gpointer handle);
+extern gpointer OpenMutex (guint32 access, gboolean inherit,
+                          const gunichar2 *name);
+
+G_END_DECLS
 
 #endif /* _WAPI_MUTEXES_H_ */