X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/6e1bfe4b91bd83b1bf4f09b20d5781c3aa4f7562..f4417e41e71fcf25feb676ae7ab0e00823d54add:/src/surf/FileImpl.hpp diff --git a/src/surf/FileImpl.hpp b/src/surf/FileImpl.hpp index b23a10f6bb..0478ea1097 100644 --- a/src/surf/FileImpl.hpp +++ b/src/surf/FileImpl.hpp @@ -27,10 +27,13 @@ public: void incrPosition(sg_size_t incr) { current_position_ += incr; } sg_size_t tell() { return current_position_; } int seek(sg_offset_t offset, int origin); - int unlink(sg_host_t host); - void move(sg_host_t host, const char* fullpath); + int unlink(); + void move(const char* fullpath); + Action* read(sg_size_t size); + Action* write(sg_size_t size); private: + StorageImpl* location_; std::string path_; std::string mount_point_; sg_size_t size_;