3 * Copyright 2008 Alistair Leslie-Hughes
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2.1 of the License, or (at your option) any later version.
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
20 #ifndef __MSCOREE_PRIVATE__
21 #define __MSCOREE_PRIVATE__
23 extern IUnknown
* create_corruntimehost(void);
25 /* Mono 2.6 embedding */
26 typedef struct _MonoDomain MonoDomain
;
27 typedef struct _MonoAssembly MonoAssembly
;
29 extern HMODULE mono_handle
;
31 extern void (*mono_config_parse
)(const char *filename
);
32 extern MonoAssembly
* (*mono_domain_assembly_open
) (MonoDomain
*domain
, const char *name
);
33 extern void (*mono_jit_cleanup
)(MonoDomain
*domain
);
34 extern int (*mono_jit_exec
)(MonoDomain
*domain
, MonoAssembly
*assembly
, int argc
, char *argv
[]);
35 extern MonoDomain
* (*mono_jit_init
)(const char *file
);
36 extern int (*mono_jit_set_trace_options
)(const char* options
);
37 extern void (*mono_set_dirs
)(const char *assembly_dir
, const char *config_dir
);
39 #endif /* __MSCOREE_PRIVATE__ */