summaryrefslogtreecommitdiffstats
path: root/lpc_handler.hpp
diff options
context:
space:
mode:
authorPatrick Venture <venture@google.com>2018-11-09 11:54:12 -0800
committerPatrick Venture <venture@google.com>2018-11-15 12:48:51 -0800
commit0fbabf25bf18eb62d6ceead241a51670e1afc0e9 (patch)
treea6780ed7d60e0e397606d135c46b4fa5d120e7fa /lpc_handler.hpp
parent0d2a8138cf1b4ffd634f40a978f328c73dc34959 (diff)
downloadphosphor-ipmi-flash-0fbabf25bf18eb62d6ceead241a51670e1afc0e9.tar.gz
phosphor-ipmi-flash-0fbabf25bf18eb62d6ceead241a51670e1afc0e9.zip
data handler: add close method
Add the close method which, when called should turn off whatever bridge was used. Change-Id: Idbf16bd6777d0b9c3f537d0b9d3fdff22e7c319e Signed-off-by: Patrick Venture <venture@google.com>
Diffstat (limited to 'lpc_handler.hpp')
-rw-r--r--lpc_handler.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lpc_handler.hpp b/lpc_handler.hpp
index e74c59f..c60b782 100644
--- a/lpc_handler.hpp
+++ b/lpc_handler.hpp
@@ -27,6 +27,7 @@ class LpcDataHandler : public DataInterface
LpcDataHandler() = default;
bool open() override;
+ bool close() override;
std::vector<std::uint8_t> copyFrom(std::uint32_t length) override;
bool write(const std::vector<std::uint8_t>& configuration) override;
std::vector<std::uint8_t> read() override;
OpenPOWER on IntegriCloud