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