Merge pull request #3413 from lambdageek/reflection-split
[mono.git] / mono / io-layer / semaphores.h
index 7d898b8c6116a5248097ddb91e7ca3211dc75b98..1cdaee02bfb2f822ed62c23567724bb78203187e 100644 (file)
 
 #include <glib.h>
 
+G_BEGIN_DECLS
+
 extern gpointer CreateSemaphore(WapiSecurityAttributes *security,
                                gint32 initial, gint32 max,
                                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_ */