Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Make room for moddata along with libdata during the conversion
[simgrid.git] / src / gras / Virtu / virtu_private.h
index 3787436..ac60812 100644 (file)
@@ -13,6 +13,7 @@
 #ifndef GRAS_VIRTU_PRIVATE_H
 #define GRAS_VIRTU_PRIVATE_H
 
+#include "xbt/dynar.h"
 #include "gras/Virtu/virtu_interface.h"
 
 /** @brief Data for each process */
@@ -21,8 +22,16 @@ typedef struct {
   void *userdata;
 
   /* data specific to each process for each module. 
-     Registered with gras_procdata_add(), retrieved with gras_libdata_get() */
+   * Registered with gras_procdata_add(), retrieved with gras_libdata_get() 
+   * This is the old interface, and will disapear before 3.2
+   */
   xbt_set_t libdata;
+   
+  /* data specific to each process for each module. 
+   * Registered with gras_module_add(), retrieved with gras_moddata_get() 
+   * This is the new interface
+   */
+  xbt_dynar_t moddata;
 } gras_procdata_t;
 
 gras_procdata_t *gras_procdata_get(void);