blob: 0657a5df3aa3165a97bcf7d0cd1b6d6826a94839 [file] [log] [blame]
Patrick Venture4d49ae62018-09-17 11:35:32 -07001#pragma once
2
Patrick Ventureeff1f2e2020-08-05 08:27:36 -07003#include "handler.hpp"
4
5#include <ipmid/api.h>
6
Patrick Venture4d49ae62018-09-17 11:35:32 -07007namespace google
8{
9namespace ipmi
10{
11
Patrick Ventureeff1f2e2020-08-05 08:27:36 -070012// Handle the google-ipmi-sys IPMI OEM commands.
13ipmi_ret_t handleSysCommand(HandlerInterface* handler, ipmi_cmd_t cmd,
14 const uint8_t* reqBuf, uint8_t* replyCmdBuf,
15 size_t* dataLen);
16
Patrick Venture4d49ae62018-09-17 11:35:32 -070017} // namespace ipmi
18} // namespace google