Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / mono / metadata / mono-config.h
1 /**
2  * \file
3  *
4  * Author: Paolo Molaro (lupus@ximian.com)
5  *
6  * (C) 2002 Ximian, Inc.
7  */
8 #ifndef __MONO_METADATA_CONFIG_H__
9 #define __MONO_METADATA_CONFIG_H__
10
11 #include <mono/utils/mono-publib.h>
12 #include <mono/metadata/image.h>
13
14 MONO_BEGIN_DECLS
15
16 MONO_API const char *mono_config_get_os (void);
17 MONO_API const char *mono_config_get_cpu (void);
18 MONO_API const char *mono_config_get_wordsize (void);
19
20 MONO_API const char* mono_get_config_dir (void);
21 MONO_API void        mono_set_config_dir (const char *dir);
22
23 MONO_API const char* mono_get_machine_config (void);
24
25 MONO_API void mono_config_cleanup      (void);
26 MONO_API void mono_config_parse        (const char *filename);
27 MONO_API void mono_config_for_assembly (MonoImage *assembly);
28 MONO_API void mono_config_parse_memory (const char *buffer);
29
30 MONO_API const char* mono_config_string_for_assembly_file (const char *filename);
31
32 MONO_API void mono_config_set_server_mode (mono_bool server_mode);
33 MONO_API mono_bool mono_config_is_server_mode (void);
34
35 MONO_END_DECLS
36
37 #endif /* __MONO_METADATA_CONFIG_H__ */
38