Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
delete comment
[simgrid.git] / src / surf / storage_n11.hpp
index 72703a1..2da0174 100644 (file)
@@ -6,6 +6,7 @@
 
 #include <xbt/base.h>
 
+#include "FileImpl.hpp"
 #include "StorageImpl.hpp"
 
 #ifndef STORAGE_N11_HPP_
@@ -44,10 +45,9 @@ public:
              const char* type_id, char* content_name, sg_size_t size, char* attach);
   virtual ~StorageN11() = default;
   StorageAction *open(const char* mount, const char* path);
-  StorageAction *close(surf_file_t fd);
   StorageAction *ls(const char *path);
-  StorageAction* read(surf_file_t fd, sg_size_t size);
-  StorageAction* write(surf_file_t fd, sg_size_t size);
+  StorageAction* read(sg_size_t size);
+  StorageAction* write(sg_size_t size);
   void rename(const char *src, const char *dest);
 };
 
@@ -64,7 +64,7 @@ public:
   void resume();
   bool isSuspended();
   void setMaxDuration(double duration);
-  void setPriority(double priority);
+  void setSharingWeight(double priority);
 };
 
 }