X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mono%2Fmetadata%2Fmono-config.h;h=daebd02c28a19da26fff04dadf1d734e9dcc99eb;hb=e27b73e000d731907d1350e79ff81d6254a1b38a;hp=5541315122f7b88ca44e5d264eb1c096f22e0835;hpb=5bbfa8860b090e465a3aa45edeb9c94481ef1a22;p=mono.git diff --git a/mono/metadata/mono-config.h b/mono/metadata/mono-config.h index 5541315122f..daebd02c28a 100644 --- a/mono/metadata/mono-config.h +++ b/mono/metadata/mono-config.h @@ -1,5 +1,5 @@ -/* - * mono-config.h +/** + * \file * * Author: Paolo Molaro (lupus@ximian.com) * @@ -8,12 +8,31 @@ #ifndef __MONO_METADATA_CONFIG_H__ #define __MONO_METADATA_CONFIG_H__ -const char* mono_get_config_dir (void); -void mono_set_config_dir (const char *dir); +#include +#include -void mono_config_parse (const char *filename); -void mono_config_for_assembly (MonoImage *assembly); -void mono_config_parse_memory (const char *buffer); +MONO_BEGIN_DECLS + +MONO_API const char *mono_config_get_os (void); +MONO_API const char *mono_config_get_cpu (void); +MONO_API const char *mono_config_get_wordsize (void); + +MONO_API const char* mono_get_config_dir (void); +MONO_API void mono_set_config_dir (const char *dir); + +MONO_API const char* mono_get_machine_config (void); + +MONO_API void mono_config_cleanup (void); +MONO_API void mono_config_parse (const char *filename); +MONO_API void mono_config_for_assembly (MonoImage *assembly); +MONO_API void mono_config_parse_memory (const char *buffer); + +MONO_API const char* mono_config_string_for_assembly_file (const char *filename); + +MONO_API void mono_config_set_server_mode (mono_bool server_mode); +MONO_API mono_bool mono_config_is_server_mode (void); + +MONO_END_DECLS #endif /* __MONO_METADATA_CONFIG_H__ */