tools: put all host-side code into host_tool namespace
To avoid confusion and organize the code itself more cleanly, place the
host-side code into its own namespace.
Change-Id: I573eb0494eb59874adb1d1eadc502499e928e396
Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/tools/blob_handler.cpp b/tools/blob_handler.cpp
index 62bbb4d..42098cc 100644
--- a/tools/blob_handler.cpp
+++ b/tools/blob_handler.cpp
@@ -23,7 +23,13 @@
#include <array>
#include <cstring>
+namespace host_tool
+{
+
+namespace
+{
const std::array<std::uint8_t, 3> ipmiPhosphorOen = {0xcf, 0xc2, 0x00};
+}
std::vector<std::uint8_t>
BlobHandler::sendIpmiPayload(BlobOEMCommands command,
@@ -231,3 +237,5 @@
std::memcpy(&session, resp.data(), sizeof(session));
return session;
}
+
+} // namespace host_tool