summaryrefslogtreecommitdiffstats
path: root/src/ipmiblob/blob_handler.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipmiblob/blob_handler.hpp')
-rw-r--r--src/ipmiblob/blob_handler.hpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/ipmiblob/blob_handler.hpp b/src/ipmiblob/blob_handler.hpp
index a663b63..bc3ebdc 100644
--- a/src/ipmiblob/blob_handler.hpp
+++ b/src/ipmiblob/blob_handler.hpp
@@ -107,6 +107,17 @@ class BlobHandler : public BlobInterface
std::uint32_t offset,
const std::vector<std::uint8_t>& bytes);
+ /**
+ * Generic stat reader.
+ *
+ * @param[in] command - the command associated with this write.
+ * @param[in] request - the bytes of the request
+ * @return the metadata StatResponse
+ * @throws BlobException on failure.
+ */
+ StatResponse statGeneric(BlobOEMCommands command,
+ const std::vector<std::uint8_t>& request);
+
IpmiInterface* ipmi;
};
OpenPOWER on IntegriCloud