#pragma once | |
#include "pldmd/dbus_impl_requester.hpp" | |
#include <vector> | |
namespace pldm | |
{ | |
namespace responder | |
{ | |
namespace platform | |
{ | |
/** @brief To send BIOS attribute update event | |
* | |
* When the attribute value changes for any BIOS attribute, then | |
* PlatformEventMessage command with OEM event type | |
* PLDM_EVENT_TYPE_OEM_EVENT_BIOS_ATTRIBUTE_UPDATE is send to host with the | |
* list of BIOS attribute handles. | |
* | |
* @param[in] fd - socket descriptor to communicate to host | |
* @param[in] eid - MCTP EID of host firmware | |
* @param[in] requester - pointer to Requester object | |
* @param[in] handles - List of BIOS attribute handles | |
*/ | |
int sendBiosAttributeUpdateEvent(int fd, uint8_t eid, | |
dbus_api::Requester* requester, | |
const std::vector<uint16_t>& handles); | |
} // namespace platform | |
} // namespace responder | |
} // namespace pldm |