X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/059ffba3002aa86e17392c7f2c884095ab64591b..f703e5eea34c57dbfcda1f9c6d2e8ac3f1512062:/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.