summaryrefslogtreecommitdiff
path: root/bin/bbstored/BackupStoreContext.h
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2008-09-13 15:29:26 +0000
committerChris Wilson <chris+github@qwirx.com>2008-09-13 15:29:26 +0000
commitbed534690981df575f5e6000c28c6b7b6c0d84f4 (patch)
treefe11494d36104453e9fb7b77d8747384530438a1 /bin/bbstored/BackupStoreContext.h
parentf3d1fd71bd8bb41b2ee95e72ae2d8fcb6a535d48 (diff)
Add command to undelete a file, to complete the set of commands
implemented by the bbstored server.
Diffstat (limited to 'bin/bbstored/BackupStoreContext.h')
-rw-r--r--bin/bbstored/BackupStoreContext.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/bbstored/BackupStoreContext.h b/bin/bbstored/BackupStoreContext.h
index da0a7668..4cfdb601 100644
--- a/bin/bbstored/BackupStoreContext.h
+++ b/bin/bbstored/BackupStoreContext.h
@@ -112,6 +112,7 @@ public:
void ChangeDirAttributes(int64_t Directory, const StreamableMemBlock &Attributes, int64_t AttributesModTime);
bool ChangeFileAttributes(const BackupStoreFilename &rFilename, int64_t InDirectory, const StreamableMemBlock &Attributes, int64_t AttributesHash, int64_t &rObjectIDOut);
bool DeleteFile(const BackupStoreFilename &rFilename, int64_t InDirectory, int64_t &rObjectIDOut);
+ bool UndeleteFile(int64_t ObjectID, int64_t InDirectory);
void DeleteDirectory(int64_t ObjectID, bool Undelete = false);
void MoveObject(int64_t ObjectID, int64_t MoveFromDirectory, int64_t MoveToDirectory, const BackupStoreFilename &rNewFilename, bool MoveAllWithSameName, bool AllowMoveOverDeletedObject);