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.hpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/ipmiblob/blob_interface.hpp b/src/ipmiblob/blob_interface.hpp
index 5d311ee..ece5c34 100644
--- a/src/ipmiblob/blob_interface.hpp
+++ b/src/ipmiblob/blob_interface.hpp
@@ -57,6 +57,14 @@ class BlobInterface
virtual StatResponse getStat(const std::string& id) = 0;
/**
+ * Get the stat() on the blob session.
+ *
+ * @param[in] session - the blob session
+ * @return metadata structure
+ */
+ virtual StatResponse getStat(std::uint16_t session) = 0;
+
+ /**
* Attempt to open the file using the specific data interface flag.
*
* @param[in] blob - the blob_id to open.
OpenPOWER on IntegriCloud