summaryrefslogtreecommitdiffstats
path: root/example/example.cpp
diff options
context:
space:
mode:
authorPatrick Venture <venture@google.com>2018-10-04 10:32:22 -0700
committerPatrick Venture <venture@google.com>2018-10-10 15:41:50 +0000
commit5c4b17b2c5ae15bfcb92447151863c4ad67f40fa (patch)
treed2baa54371ece5d4d80c0d4f82b03691f28d20d2 /example/example.cpp
parente225540cc7dc627c85a976fdc7ff0221b64ed937 (diff)
downloadphosphor-ipmi-blobs-5c4b17b2c5ae15bfcb92447151863c4ad67f40fa.tar.gz
phosphor-ipmi-blobs-5c4b17b2c5ae15bfcb92447151863c4ad67f40fa.zip
new command: BmcBlobWriteMeta
Implement new command BmcBlobWriteMeta. Change-Id: I2e148f4bde4ef5d24db7e30bb02bdde024d9166a Signed-off-by: Patrick Venture <venture@google.com>
Diffstat (limited to 'example/example.cpp')
-rw-r--r--example/example.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/example/example.cpp b/example/example.cpp
index c17d71d..929e4d1 100644
--- a/example/example.cpp
+++ b/example/example.cpp
@@ -117,6 +117,13 @@ bool ExampleBlobHandler::write(uint16_t session, uint32_t offset,
return true;
}
+bool ExampleBlobHandler::writeMeta(uint16_t session, uint32_t offset,
+ const std::vector<uint8_t>& data)
+{
+ /* Not supported. */
+ return false;
+}
+
bool ExampleBlobHandler::commit(uint16_t session,
const std::vector<uint8_t>& data)
{
OpenPOWER on IntegriCloud