diff options
| author | 2009-06-24 18:31:21 -0700 | |
|---|---|---|
| committer | 2009-06-24 18:31:21 -0700 | |
| commit | 4c4b387afb2e775fcac3b81a249bb7646515dffa (patch) | |
| tree | 893af3f7521ad4aa204449dc58132b21177e41fb /include/utils/BackupHelpers.h | |
| parent | 2e123245811a1f31c080a29728fcc1655045f011 (diff) | |
| parent | 6ebed6600464d507a651d99792baa3a23a4f0766 (diff) | |
merge master in master_gl
Diffstat (limited to 'include/utils/BackupHelpers.h')
| -rw-r--r-- | include/utils/BackupHelpers.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/utils/BackupHelpers.h b/include/utils/BackupHelpers.h index c78b99a8dc..b1f504512f 100644 --- a/include/utils/BackupHelpers.h +++ b/include/utils/BackupHelpers.h @@ -43,6 +43,7 @@ struct SnapshotHeader { struct FileState { int modTime_sec; int modTime_nsec; + int mode; int size; int crc32; int nameLen; @@ -71,6 +72,8 @@ public: status_t WriteEntityHeader(const String8& key, size_t dataSize); status_t WriteEntityData(const void* data, size_t size); + void SetKeyPrefix(const String8& keyPrefix); + private: explicit BackupDataWriter(); status_t write_padding_for(int n); @@ -79,6 +82,7 @@ private: status_t m_status; ssize_t m_pos; int m_entityCount; + String8 m_keyPrefix; }; /** @@ -133,6 +137,7 @@ public: private: void* m_buf; + bool m_loggedUnknownMetadata; KeyedVector<String8,FileRec> m_files; }; |