projects
/
cumulus.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update arguments passed to upload script.
[cumulus.git]
/
remote.h
diff --git
a/remote.h
b/remote.h
index
85de06c
..
7c084c7
100644
(file)
--- a/
remote.h
+++ b/
remote.h
@@
-26,7
+26,7
@@
public:
~RemoteStore();
void set_script(const std::string &script)
{ backup_script = script; }
~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();
void enqueue(RemoteFile *file);
void sync();
@@
-65,12
+65,13
@@
private:
friend class RemoteStore;
RemoteFile(RemoteStore *remote,
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;
RemoteStore *remote_store;
int fd;
- std::string local_path;
+ std::string
type,
local_path;
std::string remote_path;
};
std::string remote_path;
};