|
SimGrid
3.10
Versatile Simulation of Distributed Systems
|
Data Structures | |
| struct | xbt_boolean_couple |
Typedefs | |
| typedef void(* | xbt_cfg_cb_t )(const char *, int) |
| Callback types. They get the name of the modified entry, and the position of the changed value. | |
Enumerations | |
| enum | e_xbt_cfgelm_type_t { xbt_cfgelm_int = 0, xbt_cfgelm_double, xbt_cfgelm_string, xbt_cfgelm_boolean, xbt_cfgelm_peer } |
| possible content of each configuration cell More... | |
Functions | |
| xbt_cfg_t | xbt_cfg_new (void) |
| Constructor. | |
| void | xbt_cfg_cpy (xbt_cfg_t tocopy, xbt_cfg_t *whereto) |
| Copy an existing configuration set. | |
| void | xbt_cfg_free (xbt_cfg_t *cfg) |
| Destructor. | |
| void | xbt_cfg_dump (const char *name, const char *indent, xbt_cfg_t cfg) |
| Dump a config set for debuging purpose. | |
| enum e_xbt_cfgelm_type_t |
| xbt_cfg_t xbt_cfg_new | ( | void | ) |
Constructor.
Initialise a config set
Copy an existing configuration set.
| whereto | the config set to be created |
| tocopy | the source data |
This only copy the registrations, not the actual content
| void xbt_cfg_dump | ( | const char * | name, |
| const char * | indent, | ||
| xbt_cfg_t | cfg | ||
| ) |
Dump a config set for debuging purpose.
| name | The name to give to this config set |
| indent | what to write at the begining of each line (right number of spaces) |
| cfg | the config set |