Jaghathiswari Rankappagounder Natarajan | fd0f1cf | 2019-01-18 15:31:07 -0800 | [diff] [blame] | 1 | #pragma once |
| 2 | |
Patrick Venture | 07f8515 | 2019-03-15 21:36:56 -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> |
Jaghathiswari Rankappagounder Natarajan | fd0f1cf | 2019-01-18 15:31:07 -0800 | [diff] [blame] | 6 | |
| 7 | namespace google |
| 8 | { |
| 9 | namespace ipmi |
| 10 | { |
| 11 | |
| 12 | // Handle the "entity id:entity instance" to entity name mapping command. |
| 13 | // Sys can query the entity name for a particular "entity id:entity instance". |
| 14 | ipmi_ret_t GetEntityName(const uint8_t* reqBuf, uint8_t* replyBuf, |
Patrick Venture | 07f8515 | 2019-03-15 21:36:56 -0700 | [diff] [blame^] | 15 | size_t* dataLen, |
| 16 | HandlerInterface* handler = &handlerImpl); |
Jaghathiswari Rankappagounder Natarajan | fd0f1cf | 2019-01-18 15:31:07 -0800 | [diff] [blame] | 17 | |
| 18 | } // namespace ipmi |
| 19 | } // namespace google |