blob: 886ff67cb4423d74d1f76809e04437be53376566 [file] [log] [blame]
#pragma once
#include "blob_interface.hpp"
#include "interface.hpp"
#include <string>
/**
* Attempt to update the BMC's firmware using the interface provided.
*
* @param[in] blob - pointer to blob interface implementation object.
* @param[in] handler - pointer to the data interface implementation 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(BlobInterface* blob, DataInterface* handler,
const std::string& imagePath,
const std::string& signaturePath);