diff options
author | Chris Wilson <chris+github@qwirx.com> | 2008-08-10 21:45:02 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2008-08-10 21:45:02 +0000 |
commit | d64d361c0c13a462c606b3d474d54a42dba3d6d4 (patch) | |
tree | 07440b3c103b7dd40507cdbf952dbe6decb3d5ab /bin/bbackupd/BackupDaemon.h | |
parent | 712a8e038ad4d201c3ffb186952f4c84c823bf77 (diff) |
Move the code that runs a backup with exception handling into its own
method, to allow testbbackupd to call it.
Diffstat (limited to 'bin/bbackupd/BackupDaemon.h')
-rw-r--r-- | bin/bbackupd/BackupDaemon.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/bin/bbackupd/BackupDaemon.h b/bin/bbackupd/BackupDaemon.h index 93637f40..ff1839db 100644 --- a/bin/bbackupd/BackupDaemon.h +++ b/bin/bbackupd/BackupDaemon.h @@ -115,6 +115,7 @@ private: public: void InitCrypto(); + void RunSyncNowWithExceptionHandling(); void RunSyncNow(); private: @@ -215,8 +216,11 @@ private: int64_t mClientStoreMarker; bool mStorageLimitExceeded; bool mReadErrorsOnFilesystemObjects; - box_time_t mLastSyncTime; + box_time_t mLastSyncTime, mNextSyncTime; + box_time_t mCurrentSyncStartTime, mUpdateStoreInterval; TLSContext mTlsContext; + bool mDeleteStoreObjectInfoFile; + bool mDoSyncForcedByPreviousSyncError; public: bool StopRun() { return this->Daemon::StopRun(); } |