+/*
+ * 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_ */