Gunnar Mills | e91d321 | 2017-04-19 15:42:47 -0500 | [diff] [blame^] | 1 | #pragma once |
2 | |||||
3 | namespace phosphor | ||||
4 | { | ||||
5 | namespace software | ||||
6 | { | ||||
7 | namespace manager | ||||
8 | { | ||||
9 | |||||
10 | /** | ||||
11 | * @brief Verify and untar the tarball. Verify the manifest file. | ||||
12 | * Create and populate the version and filepath interfaces. | ||||
13 | * | ||||
14 | * @param[in] tarballFilePath - Tarball path. | ||||
15 | * @param[out] result - 0 if successful. | ||||
16 | */ | ||||
17 | int processImage(const std::string& tarballFilePath); | ||||
18 | |||||
19 | } // namespace manager | ||||
20 | } // namespace software | ||||
21 | } // namespace phosphor |