blob: c17025ea559df51f8461a8ece9036aeab7fbea87 [file] [log] [blame]
Patrick Venturebf58cd62018-12-11 09:05:46 -08001#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 */
13int updaterMain(const std::string& interface, const std::string& imagePath,
14 const std::string& signaturePath);