Merge pull request #3413 from lambdageek/reflection-split
[mono.git] / mono / io-layer / semaphores.h
index ad801a786e94600da37d21a768d3b7e7732e9a9a..1cdaee02bfb2f822ed62c23567724bb78203187e 100644 (file)
@@ -1,12 +1,26 @@
+/*
+ * semaphores.h:  Semaphore handles
+ *
+ * Author:
+ *     Dick Porter (dick@ximian.com)
+ *
+ * (C) 2002 Ximian, Inc.
+ */
+
 #ifndef _WAPI_SEMAPHORES_H_
 #define _WAPI_SEMAPHORES_H_
 
 #include <glib.h>
 
+G_BEGIN_DECLS
+
 extern gpointer CreateSemaphore(WapiSecurityAttributes *security,
                                gint32 initial, gint32 max,
-                               const guchar *name);
+                               const gunichar2 *name);
 extern gboolean ReleaseSemaphore(gpointer handle, gint32 count,
                                 gint32 *prevcount);
+extern gpointer OpenSemaphore (guint32 access, gboolean inherit,
+                              const gunichar2 *name);
 
+G_END_DECLS
 #endif /* _WAPI_SEMAPHORES_H_ */