summaryrefslogtreecommitdiffstats
path: root/include/utils/BackupHelpers.h
Commit message (Collapse)AuthorAgeFilesLines
* Only report "unknown metadata" once per restore helperChristopher Tate2009-06-241-0/+1
| | | | Also removes the auto-free object, replacing it with direct memory manipulation.
* Add file mode to the file-backup saved state blobsChristopher Tate2009-06-231-0/+1
| | | | | | | | | | | | | | | | This change puts the file's access mode into the saved-state blob used by the file backup helpers. The tests have been updated for the new blob content format. What this change *doesn't* do is actually backup/restore the file mode. This change is a prerequisite for that, but mode preservation in backup/restore will require adding metadata to the backup data stream itself, so will be approached a bit more carefully. (Also fixed one outright bug in the test program: ReadEntityData() had been changed to return a ssize_t union of either a byte-count or a negative number indicating error, but the test program was still assuming that nonzero == error, and was spuriously failing.)
* Helper API cleanup. Allows multiple helpers to function,Joe Onorato2009-06-221-0/+3
| | | | | because they'll always go in the same order, and this lets us not have to write headers to keep them paired.
* backup stuffJoe Onorato2009-06-181-0/+1
|
* Make RestoreHelper and friends also write out the snapshot state.Joe Onorato2009-06-181-0/+35
|
* FileRestoreHelper and RestoreHelperDispatcher work.Joe Onorato2009-06-171-1/+1
|
* checkpoint BackupDatAInput / RestoreHelperJoe Onorato2009-06-161-24/+3
|
* Make the file backup helper not crash if a file you requestedJoe Onorato2009-06-111-0/+1
| | | | | can't be stated. This means you don't need to know if the files you are backing up exist or not -- we'll figure it out for you.
* Fix SharedPrefsBackupHelper so it doesn't hard code the paths to the files.Joe Onorato2009-06-111-1/+2
| | | | This took quite a bit of refactoring.
* rename a few files to camel-case, add copyright noticesMathias Agopian2009-06-041-0/+136