Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Added round trip time contraint to the SDP program, this parameter
[simgrid.git] / src / gras / Virtu / virtu_private.h
index 0a677a9..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,10 +22,20 @@ typedef struct {
   void *userdata;
 
   /* data specific to each process for each module. 
-     Registered with gras_procdata_add(), retrieved with gras_libdata_get() */
-  xbt_dict_t libdata;
+   * 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);
-
+void *gras_libdata_by_name_from_procdata(const char *name, gras_procdata_t* pd);
+   
+   
 #endif  /* GRAS_VIRTU_PRIVATE_H */