summaryrefslogtreecommitdiffstats
path: root/src/ipmiblob/blob_interface.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipmiblob/blob_interface.hpp')
-rw-r--r--src/ipmiblob/blob_interface.hpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/ipmiblob/blob_interface.hpp b/src/ipmiblob/blob_interface.hpp
index ece5c34..989d461 100644
--- a/src/ipmiblob/blob_interface.hpp
+++ b/src/ipmiblob/blob_interface.hpp
@@ -20,6 +20,16 @@ class BlobInterface
virtual ~BlobInterface() = default;
/**
+ * Call commit on a blob. The behavior here is up to the blob itself.
+ *
+ * @param[in] session - the session id.
+ * @param[in] bytes - the bytes to send.
+ * @throws BlobException on failure.
+ */
+ virtual void commit(std::uint16_t session,
+ const std::vector<std::uint8_t>& bytes) = 0;
+
+ /**
* Write metadata to a blob.
*
* @param[in] session - the session id.
OpenPOWER on IntegriCloud