Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Integrate Bruno's work on SIMIX onto main stream. Tests are broken, but it looks...
[simgrid.git] / src / gras / Virtu / virtu_private.h
index 254aafa..275e2ec 100644 (file)
@@ -15,6 +15,7 @@
 
 #include "xbt/dynar.h"
 #include "gras/Virtu/virtu_interface.h"
+#include "simix/simix.h"
 
 /** @brief Data for each process */
 typedef struct {
@@ -32,10 +33,13 @@ typedef struct {
    * This is the new interface
    */
   xbt_dynar_t moddata;
+       
+       long int pid; /* pid of process, only for SG */
+       long int ppid; /* ppid of process, only for SG */
 } gras_procdata_t;
 
-XBT_PUBLIC(gras_procdata_t *) gras_procdata_get(void);
-XBT_PUBLIC(void) *gras_libdata_by_name_from_procdata(const char *name, gras_procdata_t* pd);
+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 */