Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Replace surf by surf++ and make it compile
[simgrid.git] / src / include / simgrid / sg_config.h
1 #include "xbt/config.h"
2
3 /*******************************************/
4 /*** Config Globals **************************/
5 /*******************************************/
6
7 #ifdef __cplusplus
8 extern "C" {
9 #endif
10
11 XBT_PUBLIC_DATA(xbt_cfg_t) _sg_cfg_set;
12 XBT_PUBLIC(int) sg_cfg_get_int(const char* name);
13 XBT_PUBLIC(double) sg_cfg_get_double(const char* name);
14 XBT_PUBLIC(char*) sg_cfg_get_string(const char* name);
15 XBT_PUBLIC(int) sg_cfg_get_boolean(const char* name);
16 XBT_PUBLIC(void) sg_cfg_get_peer(const char *name, char **peer, int *port);
17 XBT_PUBLIC(xbt_dynar_t) sg_cfg_get_dynar(const char* name);
18
19 void sg_config_init(int *argc, char **argv);
20 void sg_config_finalize(void);
21
22 #ifdef __cplusplus
23 }
24 #endif