Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
please sonar a bit
[simgrid.git] / include / simgrid / s4u / File.hpp
index d9d0080..278081f 100644 (file)
@@ -8,13 +8,12 @@
 
 #include <xbt/base.h>
 
+#include "src/surf/StorageImpl.hpp"
 #include <simgrid/simix.h>
 
 namespace simgrid {
 namespace s4u {
 
-class Storage;
-
 /** @brief A simulated file
  *
  * Used to simulate the time it takes to access to a file, but does not really store any information.
@@ -71,6 +70,10 @@ public:
   XBT_PUBLIC(msg_error_t) MSG_file_rcopy(msg_file_t fd, msg_host_t host, const char* fullpath);
   XBT_PUBLIC(msg_error_t) MSG_file_rmove(msg_file_t fd, msg_host_t host, const char* fullpath);
   */
+  char* storage_type;
+  char* storageId;
+  char* mount_point;
+  int desc_id = 0;
 
 private:
   smx_file_t pimpl_ = nullptr;