summaryrefslogtreecommitdiff
path: root/bin/bbackupd/BackupDaemon.h
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2011-08-28 19:07:17 +0000
committerChris Wilson <chris+github@qwirx.com>2011-08-28 19:07:17 +0000
commit87abf9d2de4c75539b9ba7cb400f4baae35936ba (patch)
treeb83ff4bba5beb343950d10cdead4428fe3d7348c /bin/bbackupd/BackupDaemon.h
parentc25d4b165ed4d81ceb832686ecc568dfa9b84e51 (diff)
Use "more standard" Windows API functions FindFirstFileW and FindNextFileW
for directory enumeration instead of _wfindfirst and _wfindnext. Ignore reparse points when enumerating directories to avoid infinite loops. Convert VSS paths back to real paths when notifying users about backup progress.
Diffstat (limited to 'bin/bbackupd/BackupDaemon.h')
-rw-r--r--bin/bbackupd/BackupDaemon.h26
1 files changed, 0 insertions, 26 deletions
diff --git a/bin/bbackupd/BackupDaemon.h b/bin/bbackupd/BackupDaemon.h
index 4a9097b9..c584a2bd 100644
--- a/bin/bbackupd/BackupDaemon.h
+++ b/bin/bbackupd/BackupDaemon.h
@@ -157,32 +157,6 @@ private:
int UseScriptToSeeIfSyncAllowed();
public:
- class Location
- {
- public:
- Location();
- ~Location();
-
- void Deserialize(Archive & rArchive);
- void Serialize(Archive & rArchive) const;
- private:
- Location(const Location &); // copy not allowed
- Location &operator=(const Location &);
- public:
- std::string mName;
- std::string mPath;
- std::auto_ptr<BackupClientDirectoryRecord> mpDirectoryRecord;
- int mIDMapIndex;
- ExcludeList *mpExcludeFiles;
- ExcludeList *mpExcludeDirs;
-
-#ifdef ENABLE_VSS
- bool mIsSnapshotCreated;
- VSS_ID mSnapshotVolumeId;
- std::string mSnapshotPath;
-#endif
- };
-
typedef const std::vector<Location *> Locations;
Locations GetLocations() { return mLocations; }