diff options
author | Martin Ebourne <martin@ebourne.me.uk> | 2005-11-30 23:18:04 +0000 |
---|---|---|
committer | Martin Ebourne <martin@ebourne.me.uk> | 2005-11-30 23:18:04 +0000 |
commit | 15fe4e977048085cb929a50e0561b223cf95c9a9 (patch) | |
tree | a377f06f289bb78fb608da11f43ba52cb961e4d0 /lib/backupclient/BackupClientFileAttributes.h | |
parent | a1fc249484f3c88630901828918c72897dd2c18d (diff) |
Merged martin/xattr at r5 to trunk
Diffstat (limited to 'lib/backupclient/BackupClientFileAttributes.h')
-rwxr-xr-x | lib/backupclient/BackupClientFileAttributes.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/backupclient/BackupClientFileAttributes.h b/lib/backupclient/BackupClientFileAttributes.h index dd930684..17124039 100755 --- a/lib/backupclient/BackupClientFileAttributes.h +++ b/lib/backupclient/BackupClientFileAttributes.h @@ -52,10 +52,13 @@ public: static void SetBlowfishKey(const void *pKey, int KeyLength); static void SetAttributeHashSecret(const void *pSecret, int SecretLength); - static uint64_t GenerateAttributeHash(struct stat &st, const std::string &rFilename); + static uint64_t GenerateAttributeHash(struct stat &st, const std::string &filename, const std::string &leafname); + static void FillExtendedAttr(StreamableMemBlock &outputBlock, const char *Filename); private: - void ReadAttributesLink(const char *Filename, void *pst, bool ZeroModificationTimes); + static void FillAttributes(StreamableMemBlock &outputBlock, const char *Filename, struct stat &st, bool ZeroModificationTimes); + static void FillAttributesLink(StreamableMemBlock &outputBlock, const char *Filename, struct stat &st); + void WriteExtendedAttr(const char *Filename, int xattrOffset) const; void RemoveClear() const; void EnsureClearAvailable() const; |