Patrick Venture | 4d49ae6 | 2018-09-17 11:35:32 -0700 | [diff] [blame] | 1 | #pragma once |
| 2 | |
Patrick Venture | bb90d4f | 2019-03-15 13:42:06 -0700 | [diff] [blame^] | 3 | #include "handler.hpp" |
| 4 | |
William A. Kennington III | 2c9e162 | 2019-02-07 15:45:19 -0800 | [diff] [blame] | 5 | #include <ipmid/api.h> |
Patrick Venture | 4d49ae6 | 2018-09-17 11:35:32 -0700 | [diff] [blame] | 6 | |
| 7 | namespace google |
| 8 | { |
| 9 | namespace ipmi |
| 10 | { |
| 11 | |
| 12 | // Given a cpld identifier, return a version if available. |
| 13 | ipmi_ret_t CpldVersion(const uint8_t* reqBuf, uint8_t* replyBuf, |
Patrick Venture | bb90d4f | 2019-03-15 13:42:06 -0700 | [diff] [blame^] | 14 | size_t* dataLen, |
| 15 | const HandlerInterface* handler = &handlerImpl); |
Patrick Venture | 4d49ae6 | 2018-09-17 11:35:32 -0700 | [diff] [blame] | 16 | |
| 17 | } // namespace ipmi |
| 18 | } // namespace google |