blob: c17025ea559df51f8461a8ece9036aeab7fbea87 [file] [log] [blame]
#pragma once
#include <string>
/**
* Attempt to update the BMC's firmware using the interface provided.
*
* @param[in] interface - the interface to use.
* @param[in] imagePath - the path to the image file.
* @param[in] signaturePath - the path to the signature file.
* @return non-zero on failure.
*/
int updaterMain(const std::string& interface, const std::string& imagePath,
const std::string& signaturePath);