blob: bfb09ba2f7817cef2cf29481577f8a0efca67851 [file] [log] [blame]
Patrick Venture4d49ae62018-09-17 11:35:32 -07001#pragma once
2
Patrick Venturebb90d4f2019-03-15 13:42:06 -07003#include "handler.hpp"
4
William A. Kennington III2c9e1622019-02-07 15:45:19 -08005#include <ipmid/api.h>
Patrick Venture4d49ae62018-09-17 11:35:32 -07006
7namespace google
8{
9namespace ipmi
10{
11
12// Given a cpld identifier, return a version if available.
13ipmi_ret_t CpldVersion(const uint8_t* reqBuf, uint8_t* replyBuf,
Patrick Venturebb90d4f2019-03-15 13:42:06 -070014 size_t* dataLen,
15 const HandlerInterface* handler = &handlerImpl);
Patrick Venture4d49ae62018-09-17 11:35:32 -070016
17} // namespace ipmi
18} // namespace google