4 * Author: Paolo Molaro (lupus@ximian.com)
6 * (C) 2002 Ximian, Inc.
8 #ifndef __MONO_METADATA_CONFIG_H__
9 #define __MONO_METADATA_CONFIG_H__
11 #include <mono/utils/mono-publib.h>
12 #include <mono/metadata/image.h>
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);
20 MONO_API
const char* mono_get_config_dir (void);
21 MONO_API
void mono_set_config_dir (const char *dir
);
23 MONO_API
const char* mono_get_machine_config (void);
25 MONO_API
void mono_config_cleanup (void);
26 MONO_API
void mono_config_parse (const char *filename
);
27 MONO_API MONO_RT_EXTERNAL_ONLY
void mono_config_for_assembly (MonoImage
*assembly
);
28 MONO_API
void mono_config_parse_memory (const char *buffer
);
30 MONO_API
const char* mono_config_string_for_assembly_file (const char *filename
);
32 MONO_API
void mono_config_set_server_mode (mono_bool server_mode
);
33 MONO_API mono_bool
mono_config_is_server_mode (void);
37 #endif /* __MONO_METADATA_CONFIG_H__ */