+ xbt_cfg_register(_surf_cfg_set,"path","Lookup path for inclusions in platform and deployment XML files",
+ xbt_cfgelm_string, 0,0,_surf_cfg_cb__surf_path,NULL);
+ if (!surf_path) {
+ /* retrieves the current directory of the current process */
+ const char *initial_path = __surf_get_initial_path();
+ xbt_assert0((initial_path),
+ "__surf_get_initial_path() failed! Can't resolves current Windows directory");
+
+ surf_path = xbt_dynar_new(sizeof(char *), NULL);
+ xbt_cfg_set_string(_surf_cfg_set,"path", initial_path);
+ }
+