X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/a93caab924a2f8bfe4102d6442013ec12087bed0..f4417e41e71fcf25feb676ae7ab0e00823d54add:/src/surf/storage_n11.hpp diff --git a/src/surf/storage_n11.hpp b/src/surf/storage_n11.hpp index 72703a1093..42793eb325 100644 --- a/src/surf/storage_n11.hpp +++ b/src/surf/storage_n11.hpp @@ -6,6 +6,7 @@ #include +#include "FileImpl.hpp" #include "StorageImpl.hpp" #ifndef STORAGE_N11_HPP_ @@ -43,12 +44,8 @@ public: StorageN11(StorageModel* model, const char* name, lmm_system_t maxminSystem, double bread, double bwrite, 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); - void rename(const char *src, const char *dest); + StorageAction* read(sg_size_t size); + StorageAction* write(sg_size_t size); }; /********** @@ -64,7 +61,7 @@ public: void resume(); bool isSuspended(); void setMaxDuration(double duration); - void setPriority(double priority); + void setSharingWeight(double priority); }; }