2002-08-01 Dick Porter <dick@ximian.com>
[mono.git] / mono / io-layer / semaphores.h
index 21a8bd0e535b1efead78a002d3f3f54728b5a836..6ccba9ba6c1e02a7c8fa50458b08adaf771cbd3c 100644 (file)
@@ -1,9 +1,21 @@
+/*
+ * 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>
 
-extern WapiHandle *CreateSemaphore(WapiSecurityAttributes *security, gint32 initial, gint32 max, const guchar *name);
-extern gboolean ReleaseSemaphore(WapiHandle *handle, gint32 count, gint32 *prevcount);
+extern gpointer CreateSemaphore(WapiSecurityAttributes *security,
+                               gint32 initial, gint32 max,
+                               const guchar *name);
+extern gboolean ReleaseSemaphore(gpointer handle, gint32 count,
+                                gint32 *prevcount);
 
 #endif /* _WAPI_SEMAPHORES_H_ */