Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
use XBT_PULIC_CLASS here too
[simgrid.git] / src / plugins / file_system / FileSystem.hpp
index 7711c27..6535c3d 100644 (file)
@@ -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<Storage, FileSystemStorageExt> 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<Host, FileDescriptorHostExt> EXTENSION_ID;
   FileDescriptorHostExt() = default;