2 * security-core-clr.h: CoreCLR security
5 * Mark Probst <mark.probst@gmail.com>
10 #ifndef _MONO_METADATA_SECURITY_CORE_CLR_H_
11 #define _MONO_METADATA_SECURITY_CORE_CLR_H_
13 #include <mono/metadata/reflection.h>
16 /* We compare these values as integers, so the order must not
18 MONO_SECURITY_CORE_CLR_TRANSPARENT
= 0,
19 MONO_SECURITY_CORE_CLR_SAFE_CRITICAL
,
20 MONO_SECURITY_CORE_CLR_CRITICAL
21 } MonoSecurityCoreCLRLevel
;
23 extern gboolean mono_security_core_clr_test
;
25 extern MonoSecurityCoreCLRLevel
mono_security_core_clr_level_from_cinfo (MonoCustomAttrInfo
*cinfo
, MonoImage
*image
) MONO_INTERNAL
;
27 extern MonoSecurityCoreCLRLevel
mono_security_core_clr_class_level (MonoClass
*class) MONO_INTERNAL
;
28 extern MonoSecurityCoreCLRLevel
mono_security_core_clr_method_level (MonoMethod
*method
, gboolean with_class_level
) MONO_INTERNAL
;
30 extern gboolean
mono_security_core_clr_is_platform_image (MonoImage
*image
) MONO_INTERNAL
;
32 #endif /* _MONO_METADATA_SECURITY_CORE_CLR_H_ */