Ignore:
Timestamp:
28/05/2008 16:24:05 (4 years ago)
Author:
chris
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • box/trunk/bin/bbackupd/BackupClientContext.h

    r2127 r2181  
    1313#include "BoxTime.h" 
    1414#include "BackupClientDeleteList.h" 
     15#include "BackupClientDirectoryRecord.h" 
    1516#include "BackupStoreFile.h" 
    1617#include "ExcludeList.h" 
     
    4647                bool ExtendedLogging, 
    4748                bool ExtendedLogToFile, 
    48                 std::string ExtendedLogFile 
     49                std::string ExtendedLogFile, 
     50                ProgressNotifier &rProgressNotifier 
    4951        ); 
    5052        virtual ~BackupClientContext(); 
     
    7173         
    7274        bool StorageLimitExceeded() {return mStorageLimitExceeded;} 
     75        void SetStorageLimitExceeded() {mStorageLimitExceeded = true;} 
    7376 
    7477        // -------------------------------------------------------------------------- 
     
    199202        virtual bool   IsManaged() { return mbIsManaged; } 
    200203         
     204        ProgressNotifier& GetProgressNotifier() const  
     205        {  
     206                return mrProgressNotifier; 
     207        } 
     208 
    201209private: 
    202210        BackupDaemon &mrDaemon; 
     
    222230        int mKeepAliveTime; 
    223231        int mMaximumDiffingTime; 
     232        ProgressNotifier &mrProgressNotifier; 
    224233}; 
    225234 
Note: See TracChangeset for help on using the changeset viewer.