summaryrefslogtreecommitdiffstats
path: root/blobs-ipmid/blobs.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'blobs-ipmid/blobs.hpp')
-rw-r--r--blobs-ipmid/blobs.hpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/blobs-ipmid/blobs.hpp b/blobs-ipmid/blobs.hpp
index b6672b7..0014fd4 100644
--- a/blobs-ipmid/blobs.hpp
+++ b/blobs-ipmid/blobs.hpp
@@ -106,6 +106,17 @@ class GenericBlobInterface
const std::vector<uint8_t>& data) = 0;
/**
+ * Attempt to write metadata to a blob.
+ *
+ * @param[in] session - the session id.
+ * @param[in] offset - offset into the blob.
+ * @param[in] data - the data to write.
+ * @return bool - was able to write.
+ */
+ virtual bool writeMeta(uint16_t session, uint32_t offset,
+ const std::vector<uint8_t>& data) = 0;
+
+ /**
* Attempt to commit to a blob.
*
* @param[in] session - the session id.
OpenPOWER on IntegriCloud