Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Rewrite the way the disk usage and file size are updated
[simgrid.git] / src / surf / storage_private.h
index 6569573..f27d650 100644 (file)
@@ -41,15 +41,17 @@ typedef struct storage {
   xbt_dict_t content; /* char * -> s_surf_stat_t */
   unsigned long size;
   unsigned long used_size;
+  xbt_dynar_t write_actions;
 } s_storage_t, *storage_t;
 
 typedef enum {
-  READ, WRITE, STAT, OPEN, CLOSE
+  READ=0, WRITE, STAT, OPEN, CLOSE
 } e_surf_action_storage_type_t;
 
 typedef struct surf_action_storage {
   s_surf_action_lmm_t generic_lmm_action;
   e_surf_action_storage_type_t type;
+  void *storage;
 } s_surf_action_storage_t, *surf_action_storage_t;
 
 #endif /* STORAGE_PRIVATE_H_ */