X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/c53d0aac5a5ab41701f3320d95f1cd2b0f3fd005..2b277690e134be83dd52dac256dc16dd014f88a8:/include/xbt/config.h diff --git a/include/xbt/config.h b/include/xbt/config.h index 5cf4b5331a..67c25bc85f 100644 --- a/include/xbt/config.h +++ b/include/xbt/config.h @@ -47,7 +47,7 @@ SG_BEGIN_DECL() * * \section XBT_cfg_ex Example of use * - * \don'tinclude config.c + * \dontinclude config.c * * First, let's create a configuration set with some registered variables. * This must be done by the configurable library before the user interactions. @@ -105,6 +105,7 @@ XBT_PUBLIC(void) xbt_cfg_set_string(xbt_cfg_t cfg, const char *name, const char *val); XBT_PUBLIC(void) xbt_cfg_set_peer(xbt_cfg_t cfg, const char *name, const char *peer, int port); +XBT_PUBLIC(void*) xbt_cfg_set_as_string(xbt_cfg_t cfg, const char *name, const char *val); /* Set the default value of the cell \a name in \a cfg with the provided value.