Deepak Kodihalli | 1b24f97 | 2019-02-01 04:09:13 -0600 | [diff] [blame] | 1 | #pragma once |
| 2 | |
| 3 | #include <stdint.h> |
| 4 | |
| 5 | #include <vector> |
| 6 | |
| 7 | #include "libpldm/base.h" |
| 8 | |
| 9 | namespace pldm |
| 10 | { |
| 11 | |
| 12 | using Type = uint8_t; |
| 13 | |
| 14 | namespace responder |
| 15 | { |
| 16 | |
| 17 | /** @brief Handler for getPLDMTypes |
| 18 | * |
| 19 | * @param[in] request - Request message payload |
| 20 | * @param[out] response - Response message written here |
| 21 | */ |
| 22 | void getPLDMTypes(const pldm_msg_payload* request, pldm_msg* response); |
| 23 | |
| 24 | /** @brief Handler for getPLDMCommands |
| 25 | * |
| 26 | * @param[in] request - Request message payload |
| 27 | * @param[out] response - Response message written here |
| 28 | */ |
| 29 | void getPLDMCommands(const pldm_msg_payload* request, pldm_msg* response); |
| 30 | |
Sampa Misra | 432e187 | 2019-02-13 03:49:43 -0600 | [diff] [blame] | 31 | /** @brief Handler for getPLDMCommands |
| 32 | * |
| 33 | * @param[in] request - Request message payload |
| 34 | * @param[out] response - Response messsage written here |
| 35 | */ |
| 36 | void getPLDMVersion(const pldm_msg_payload* request, pldm_msg* response); |
| 37 | |
Deepak Kodihalli | 1b24f97 | 2019-02-01 04:09:13 -0600 | [diff] [blame] | 38 | } // namespace responder |
| 39 | } // namespace pldm |