Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
First step to move xbt_context from XBT to SIMIX. Some renaming is
[simgrid.git] / src / simix / private.h
index 655815b..bc0eccf 100644 (file)
@@ -16,7 +16,6 @@
 #include "xbt/swag.h"
 #include "xbt/dict.h"
 #include "xbt/context.h"
-#include "xbt/config.h"
 #include "xbt/function_types.h"
 
 /******************************* Datatypes **********************************/
@@ -102,18 +101,11 @@ typedef struct s_smx_simdata_action {
 
 
 
-/******************************* 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,