[reflection] Fix MethodInfo.GetBaseDefinition() for open constructed base types.
[mono.git] / mono / io-layer / semaphore-private.h
index d7db2557a14e8f2b6815339ebe2e6cfa3b7f2a09..8414f4e9205266daca7305346e1f59a15f6ddd93 100644 (file)
@@ -1,3 +1,12 @@
+/*
+ * semaphore-private.h:  Private definitions for semaphore handles
+ *
+ * Author:
+ *     Dick Porter (dick@ximian.com)
+ *
+ * (C) 2002 Ximian, Inc.
+ */
+
 #ifndef _WAPI_SEMAPHORE_PRIVATE_H_
 #define _WAPI_SEMAPHORE_PRIVATE_H_
 
@@ -5,6 +14,9 @@
 #include <glib.h>
 
 extern struct _WapiHandleOps _wapi_sem_ops;
+extern struct _WapiHandleOps _wapi_namedsem_ops;
+
+extern void _wapi_sem_details (gpointer handle_info);
 
 /* emulate sem_t, so that we can prod the internal state more easily */
 struct _WapiHandle_sem
@@ -13,9 +25,11 @@ struct _WapiHandle_sem
        gint32 max;
 };
 
-struct _WapiHandlePrivate_sem
+struct _WapiHandle_namedsem
 {
-       int dummy;
+       WapiSharedNamespace sharedns;
+       guint32 val;
+       gint32 max;
 };
 
 #endif /* _WAPI_SEMAPHORE_PRIVATE_H_ */