Patrick Venture | bf58cd6 | 2018-12-11 09:05:46 -0800 | [diff] [blame^] | 1 | #pragma once |
2 | |||||
3 | #include <string> | ||||
4 | |||||
5 | /** | ||||
6 | * Attempt to update the BMC's firmware using the interface provided. | ||||
7 | * | ||||
8 | * @param[in] interface - the interface to use. | ||||
9 | * @param[in] imagePath - the path to the image file. | ||||
10 | * @param[in] signaturePath - the path to the signature file. | ||||
11 | * @return non-zero on failure. | ||||
12 | */ | ||||
13 | int updaterMain(const std::string& interface, const std::string& imagePath, | ||||
14 | const std::string& signaturePath); |