X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/04d3d36e9e87d194bee4f88859f96d66975cce31..f3620187b531484b740c92779b46088c0a5a5273:/src/plugins/file_system/FileSystem.hpp diff --git a/src/plugins/file_system/FileSystem.hpp b/src/plugins/file_system/FileSystem.hpp index 7711c272e8..6535c3d848 100644 --- a/src/plugins/file_system/FileSystem.hpp +++ b/src/plugins/file_system/FileSystem.hpp @@ -52,6 +52,8 @@ public: /** Rename a file. WARNING: It is forbidden to move the file to another mount point */ void move(std::string fullpath); + int remoteCopy(sg_host_t host, const char* fullpath); + int remoteMove(sg_host_t host, const char* fullpath); int unlink(); /** Remove a file from the contents of a disk */ void dump(); @@ -68,7 +70,7 @@ private: void* userdata_ = nullptr; }; -class FileSystemStorageExt { +XBT_PUBLIC_CLASS FileSystemStorageExt { public: static simgrid::xbt::Extension EXTENSION_ID; explicit FileSystemStorageExt(Storage* ptr); @@ -85,7 +87,8 @@ private: sg_size_t size_ = 0; }; -class FileDescriptorHostExt { +XBT_PUBLIC_CLASS FileDescriptorHostExt +{ public: static simgrid::xbt::Extension EXTENSION_ID; FileDescriptorHostExt() = default;