summaryrefslogtreecommitdiffstats
path: root/process.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'process.hpp')
-rw-r--r--process.hpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/process.hpp b/process.hpp
index 8f874dc..0e377bc 100644
--- a/process.hpp
+++ b/process.hpp
@@ -22,10 +22,12 @@ using IpmiBlobHandler =
* @param[in,out] replyCmdBuf - a pointer to the ipmi reply packet buffer.
* @param[in,out] dataLen - initially the request length, set to reply length
* on return.
- * @return the ipmi command handler.
+ * @param[out] code - set to the IPMI error on failure, otherwise unset.
+ * @return the ipmi command handler, or nullptr on failure.
*/
IpmiBlobHandler validateBlobCommand(CrcInterface* crc, const uint8_t* reqBuf,
- uint8_t* replyCmdBuf, size_t* dataLen);
+ uint8_t* replyCmdBuf, size_t* dataLen,
+ ipmi_ret_t* code);
/**
* Call the IPMI command and process the result, including running the CRC
OpenPOWER on IntegriCloud