Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Move variable to where it belongs.
authorArnaud Legrand <arnaud.legrand@imag.fr>
Wed, 21 Aug 2013 18:41:36 +0000 (20:41 +0200)
committerArnaud Legrand <arnaud.legrand@imag.fr>
Wed, 21 Aug 2013 18:41:36 +0000 (20:41 +0200)
src/include/surf/surf.h
src/surf/surf.c
src/surf/surf_routing.c

index ec366ea..7f16b84 100644 (file)
@@ -643,6 +643,11 @@ XBT_PUBLIC_DATA(s_surf_model_description_t) surf_new_model_description[];
  */
 XBT_PUBLIC_DATA(xbt_dynar_t) model_list;
 
+/** \ingroup SURF_simulation
+ *  \brief List of hosts for which one want to be notified if they ever restart.
+ */
+XBT_PUBLIC(xbt_dict_t) watched_hosts_lib;
+
 /*******************************************/
 /*** SURF Platform *************************/
 /*******************************************/
index 3463fad..4e9992a 100644 (file)
@@ -114,6 +114,7 @@ xbt_dynar_t model_list = NULL;
 tmgr_history_t history = NULL;
 lmm_system_t maxmin_system = NULL;
 xbt_dynar_t surf_path = NULL;
+xbt_dict_t watched_hosts_lib;
 
 /* Don't forget to update the option description in smx_config when you change this */
 s_surf_model_description_t surf_network_model_description[] = {
index 32f9bfa..a3084b6 100644 (file)
@@ -25,8 +25,6 @@ int SD_HOST_LEVEL;              //Simdag level
 int COORD_HOST_LEVEL=0;         //Coordinates level
 int NS3_HOST_LEVEL;             //host node for ns3
 
-xbt_dict_t watched_hosts_lib;
-
 /**
  * @ingroup SURF_build_api
  * @brief A library containing all known links