|
Get patches (or files) for every file in input, assuming that input has a hash for each of those files. - Parameters:
-
[in] | applicationName | A null terminated string identifying the application |
[in] | input | A list of files with SHA1_LENGTH byte hashes to get from the database. |
[out] | patchList | You should return list of files with either the filedata or the patch. This is a subset of input. The context data for each file will be either PC_WRITE_FILE (to just write the file) or PC_HASH_WITH_PATCH (to patch). If PC_HASH_WITH_PATCH, then the file contains a SHA1_LENGTH byte patch followed by the hash. The datalength is patchlength + SHA1_LENGTH |
- Returns:
- True on success, false on failure.
|