1 #pragma once 2 3 #include <ipmid/api.hpp> 4 5 /** @brief The RESET watchdog IPMI command. 6 */ 7 ipmi::RspType<> ipmiAppResetWatchdogTimer(); 8 9 /** @brief The SET watchdog IPMI command. 10 * 11 * @param[in] netfn 12 * @param[in] cmd 13 * @param[in] request 14 * @param[in,out] response 15 * @param[out] data_len 16 * @param[in] context 17 * 18 * @return IPMI_CC_OK on success, an IPMI error code otherwise. 19 */ 20 ipmi_ret_t ipmi_app_watchdog_set(ipmi_netfn_t netfn, ipmi_cmd_t cmd, 21 ipmi_request_t request, 22 ipmi_response_t response, 23 ipmi_data_len_t data_len, 24 ipmi_context_t context); 25 26 /** @brief The GET watchdog IPMI command. 27 * @param[in] netfn 28 * @param[in] cmd 29 * @param[in] request 30 * @param[in,out] response 31 * @param[out] data_len 32 * @param[in] context 33 * 34 * @return IPMI_CC_OK on success, an IPMI error code otherwise. 35 */ 36 ipmi_ret_t ipmi_app_watchdog_get(ipmi_netfn_t netfn, ipmi_cmd_t cmd, 37 ipmi_request_t request, 38 ipmi_response_t response, 39 ipmi_data_len_t data_len, 40 ipmi_context_t context); 41