#include "xbt/swag.h"
#include "xbt/dict.h"
#include "xbt/context.h"
-#include "xbt/config.h"
#include "xbt/function_types.h"
/******************************* Datatypes **********************************/
-/******************************* Configuration support **********************************/
+/******************************* Other **********************************/
-void simix_config_init(void); /* create the config set, call this before use! */
-void simix_config_finalize(void); /* destroy the config set, call this at cleanup. */
-extern int _simix_init_status; /* 0: beginning of time;
- 1: pre-inited (cfg_set created);
- 2: inited (running) */
-extern xbt_cfg_t _simix_cfg_set;
-
-#define SIMIX_CHECK_HOST() xbt_assert0(surf_workstation_model->extension_public-> \
- get_state(SIMIX_host_self()->simdata->host)==SURF_CPU_ON,\
+#define SIMIX_CHECK_HOST() xbt_assert0(surf_workstation_model->extension.workstation. \
+ get_state(SIMIX_host_self()->simdata->host)==SURF_RESOURCE_ON,\
"Host failed, you cannot call this function.")
smx_host_t __SIMIX_host_create(const char *name, void *workstation,