diff options
author | Chris Wilson <chris+github@qwirx.com> | 2008-05-28 15:24:05 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2008-05-28 15:24:05 +0000 |
commit | 1aaa7a42e7bd65902a07f29881b68acb45255d24 (patch) | |
tree | fe8983cd01778c757dea772933ca6654c852ab3c /bin/bbackupd/BackupClientContext.cpp | |
parent | 441373e3cf2b6c1f4f119c4a4b0d494a6645b5c2 (diff) |
Track and log file deletions by name.
Split crypto init and file sync process into its own method, to reduce
call depth and facilitate calling in process from tests.
Differentiate between 3 uses of stat in BackupClientDirectoryRecord by
renaming the structures.
Use stat instead of lstat when checking the filesystem that's holding an
entity, in case it's a symbolic link to a different filesystem.
Diffstat (limited to 'bin/bbackupd/BackupClientContext.cpp')
-rw-r--r-- | bin/bbackupd/BackupClientContext.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/bin/bbackupd/BackupClientContext.cpp b/bin/bbackupd/BackupClientContext.cpp index 146f7cb8..47826211 100644 --- a/bin/bbackupd/BackupClientContext.cpp +++ b/bin/bbackupd/BackupClientContext.cpp @@ -48,7 +48,8 @@ BackupClientContext::BackupClientContext int32_t AccountNumber, bool ExtendedLogging, bool ExtendedLogToFile, - std::string ExtendedLogFile + std::string ExtendedLogFile, + ProgressNotifier& rProgressNotifier ) : mrDaemon(rDaemon), mrTLSContext(rTLSContext), @@ -69,7 +70,8 @@ BackupClientContext::BackupClientContext mpExcludeFiles(0), mpExcludeDirs(0), mKeepAliveTimer(0), - mbIsManaged(false) + mbIsManaged(false), + mrProgressNotifier(rProgressNotifier) { } |