tools: start implementing blob interface
Start implementing blob interface to handle sending BLOB protocol
commands.
Change-Id: I9eeb6c1b6f49d9b0332e156e02476e2b07850d64
Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/tools/updater.hpp b/tools/updater.hpp
index c17025e..0f32363 100644
--- a/tools/updater.hpp
+++ b/tools/updater.hpp
@@ -1,14 +1,17 @@
#pragma once
+#include "blob_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] 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);
+int updaterMain(BlobInterface* blob, const std::string& interface,
+ const std::string& imagePath, const std::string& signaturePath);