[ThreadPool] Allow heavier initialization when using --server flag
[mono.git] / mono / metadata / mono-config.h
1 /*
2  * mono-config.h
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 const char* mono_get_config_dir (void);
17 void        mono_set_config_dir (const char *dir);
18
19 const char* mono_get_machine_config (void);
20
21 void mono_config_cleanup      (void);
22 void mono_config_parse        (const char *filename);
23 void mono_config_for_assembly (MonoImage *assembly);
24 void mono_config_parse_memory (const char *buffer);
25
26 const char* mono_config_string_for_assembly_file (const char *filename);
27
28 void mono_config_set_server_mode (gboolean server_mode);
29 gboolean mono_config_is_server_mode (void);
30
31 MONO_END_DECLS
32
33 #endif /* __MONO_METADATA_CONFIG_H__ */
34