blob: b3ab947d2420b3b8b3ee069d0358bf3a50ffb311 [file] [log] [blame]
#pragma once
#include "handler.hpp"
#include <ipmiblob/blob_interface.hpp>
#include <string>
namespace host_tool
{
/**
* Attempt to update the BMC's firmware using the interface provided.
*
* @param[in] updater - update handler object.
* @param[in] imagePath - the path to the image file.
* @param[in] signaturePath - the path to the signature file.
* @throws ToolException on failures.
*/
void updaterMain(UpdateHandlerInterface* updater, const std::string& imagePath,
const std::string& signaturePath);
} // namespace host_tool