Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
closing a file is a noop. No need to deep down the stack
[simgrid.git] / src / surf / storage_n11.hpp
index 72703a1..bb7e0ee 100644 (file)
@@ -6,6 +6,7 @@
 
 #include <xbt/base.h>
 
+#include "FileImpl.hpp"
 #include "StorageImpl.hpp"
 
 #ifndef STORAGE_N11_HPP_
@@ -44,7 +45,6 @@ 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);
@@ -64,7 +64,7 @@ public:
   void resume();
   bool isSuspended();
   void setMaxDuration(double duration);
-  void setPriority(double priority);
+  void setSharingWeight(double priority);
 };
 
 }