X-Git-Url: http://git.vrable.net/?a=blobdiff_plain;f=remote.h;h=7c084c7a138c55819ca3b76a188cc95f1b978de4;hb=f1f817df56ce99ea544569635698df55d72bd1ee;hp=85de06ce3e6a808013d720477a620d6926dc4182;hpb=b41d7697d060b3675ae160ef8b88c51e642b0c99;p=cumulus.git diff --git a/remote.h b/remote.h index 85de06c..7c084c7 100644 --- a/remote.h +++ b/remote.h @@ -26,7 +26,7 @@ public: ~RemoteStore(); void set_script(const std::string &script) { backup_script = script; } - RemoteFile *alloc_file(const std::string &name); + RemoteFile *alloc_file(const std::string &name, const std::string &type); void enqueue(RemoteFile *file); void sync(); @@ -65,12 +65,13 @@ private: friend class RemoteStore; RemoteFile(RemoteStore *remote, - const std::string &name, const std::string &local_path); + const std::string &name, const std::string &type, + const std::string &local_path); RemoteStore *remote_store; int fd; - std::string local_path; + std::string type, local_path; std::string remote_path; };