/usr/include/mono-2.0/mono/metadata/appdomain.h is in libmono-2.0-dev 4.6.2.7+dfsg-1ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 | /*
* appdomain.h: AppDomain functions
*
* Author:
* Dietmar Maurer (dietmar@ximian.com)
*
* (C) 2001 Ximian, Inc.
*/
#ifndef _MONO_METADATA_APPDOMAIN_H_
#define _MONO_METADATA_APPDOMAIN_H_
#include <mono/utils/mono-publib.h>
#include <mono/metadata/object.h>
#include <mono/metadata/reflection.h>
MONO_BEGIN_DECLS
typedef void (*MonoThreadStartCB) (intptr_t tid, void* stack_start,
void* func);
typedef void (*MonoThreadAttachCB) (intptr_t tid, void* stack_start);
typedef struct _MonoAppDomain MonoAppDomain;
typedef struct _MonoJitInfo MonoJitInfo;
typedef void (*MonoDomainFunc) (MonoDomain *domain, void* user_data);
MONO_API MonoDomain*
mono_init (const char *filename);
MONO_API MonoDomain *
mono_init_from_assembly (const char *domain_name, const char *filename);
MONO_API MonoDomain *
mono_init_version (const char *domain_name, const char *version);
MONO_API MonoDomain*
mono_get_root_domain (void);
MONO_RT_EXTERNAL_ONLY
MONO_API void
mono_runtime_init (MonoDomain *domain, MonoThreadStartCB start_cb,
MonoThreadAttachCB attach_cb);
MONO_API void
mono_runtime_cleanup (MonoDomain *domain);
MONO_API void
mono_install_runtime_cleanup (MonoDomainFunc func);
MONO_API void
mono_runtime_quit (void);
MONO_API void
mono_runtime_set_shutting_down (void);
MONO_API mono_bool
mono_runtime_is_shutting_down (void);
MONO_API const char*
mono_check_corlib_version (void);
MONO_API MonoDomain *
mono_domain_create (void);
MONO_RT_EXTERNAL_ONLY
MONO_API MonoDomain *
mono_domain_create_appdomain (char *friendly_name, char *configuration_file);
MONO_API void
mono_domain_set_config (MonoDomain *domain, const char *base_dir, const char *config_file_name);
MONO_API MonoDomain *
mono_domain_get (void);
MONO_API MonoDomain *
mono_domain_get_by_id (int32_t domainid);
MONO_API int32_t
mono_domain_get_id (MonoDomain *domain);
MONO_API const char *
mono_domain_get_friendly_name (MonoDomain *domain);
MONO_API mono_bool
mono_domain_set (MonoDomain *domain, mono_bool force);
MONO_API void
mono_domain_set_internal (MonoDomain *domain);
MONO_RT_EXTERNAL_ONLY
MONO_API void
mono_domain_unload (MonoDomain *domain);
MONO_API void
mono_domain_try_unload (MonoDomain *domain, MonoObject **exc);
MONO_API mono_bool
mono_domain_is_unloading (MonoDomain *domain);
MONO_API MonoDomain *
mono_domain_from_appdomain (MonoAppDomain *appdomain);
MONO_API void
mono_domain_foreach (MonoDomainFunc func, void* user_data);
MONO_API MonoAssembly *
mono_domain_assembly_open (MonoDomain *domain, const char *name);
MONO_API mono_bool
mono_domain_finalize (MonoDomain *domain, uint32_t timeout);
MONO_API void
mono_domain_free (MonoDomain *domain, mono_bool force);
MONO_API mono_bool
mono_domain_has_type_resolve (MonoDomain *domain);
MONO_RT_EXTERNAL_ONLY
MONO_API MonoReflectionAssembly *
mono_domain_try_type_resolve (MonoDomain *domain, char *name, MonoObject *tb);
MONO_API mono_bool
mono_domain_owns_vtable_slot (MonoDomain *domain, void* vtable_slot);
MONO_RT_EXTERNAL_ONLY
MONO_API void
mono_context_init (MonoDomain *domain);
MONO_API void
mono_context_set (MonoAppContext *new_context);
MONO_API MonoAppContext *
mono_context_get (void);
MONO_API int32_t
mono_context_get_id (MonoAppContext *context);
MONO_API int32_t
mono_context_get_domain_id (MonoAppContext *context);
MONO_API MonoJitInfo *
mono_jit_info_table_find (MonoDomain *domain, char *addr);
/* MonoJitInfo accessors */
MONO_API void*
mono_jit_info_get_code_start (MonoJitInfo* ji);
MONO_API int
mono_jit_info_get_code_size (MonoJitInfo* ji);
MONO_API MonoMethod*
mono_jit_info_get_method (MonoJitInfo* ji);
MONO_API MonoImage*
mono_get_corlib (void);
MONO_API MonoClass*
mono_get_object_class (void);
MONO_API MonoClass*
mono_get_byte_class (void);
MONO_API MonoClass*
mono_get_void_class (void);
MONO_API MonoClass*
mono_get_boolean_class (void);
MONO_API MonoClass*
mono_get_sbyte_class (void);
MONO_API MonoClass*
mono_get_int16_class (void);
MONO_API MonoClass*
mono_get_uint16_class (void);
MONO_API MonoClass*
mono_get_int32_class (void);
MONO_API MonoClass*
mono_get_uint32_class (void);
MONO_API MonoClass*
mono_get_intptr_class (void);
MONO_API MonoClass*
mono_get_uintptr_class (void);
MONO_API MonoClass*
mono_get_int64_class (void);
MONO_API MonoClass*
mono_get_uint64_class (void);
MONO_API MonoClass*
mono_get_single_class (void);
MONO_API MonoClass*
mono_get_double_class (void);
MONO_API MonoClass*
mono_get_char_class (void);
MONO_API MonoClass*
mono_get_string_class (void);
MONO_API MonoClass*
mono_get_enum_class (void);
MONO_API MonoClass*
mono_get_array_class (void);
MONO_API MonoClass*
mono_get_thread_class (void);
MONO_API MonoClass*
mono_get_exception_class (void);
MONO_API void
mono_security_enable_core_clr (void);
typedef mono_bool (*MonoCoreClrPlatformCB) (const char *image_name);
MONO_API void
mono_security_set_core_clr_platform_callback (MonoCoreClrPlatformCB callback);
MONO_END_DECLS
#endif /* _MONO_METADATA_APPDOMAIN_H_ */
|