xref: /openbmc/phosphor-host-ipmid/storageaddsel.hpp (revision a8205ff68bda219245c7079f8f27ff2299528d68)
146470a38SPatrick Venture #pragma once
246470a38SPatrick Venture 
346470a38SPatrick Venture #include <stdint.h>
446470a38SPatrick Venture 
5*a8205ff6SJayanth Othayoth #include <string>
6*a8205ff6SJayanth Othayoth 
746470a38SPatrick Venture /** @brief Read eSEL data into a string
846470a38SPatrick Venture  *
946470a38SPatrick Venture  *  @param[in] filename - filename of file containing eSEL
1046470a38SPatrick Venture  *
1146470a38SPatrick Venture  *  @return On success return the eSEL data
1246470a38SPatrick Venture  */
1346470a38SPatrick Venture std::string readESEL(const char* filename);
1446470a38SPatrick Venture 
1546470a38SPatrick Venture /** @brief Create a log entry with maintenance procedure
1646470a38SPatrick Venture  *
1746470a38SPatrick Venture  *  @param[in] procedureNum - procedure number associated with the log entry
1846470a38SPatrick Venture  */
1946470a38SPatrick Venture void createProcedureLogEntry(uint8_t procedureNum);
20