William A. Kennington III | 61d5f7b | 2018-02-09 15:23:53 -0800 | [diff] [blame] | 1 | #pragma once |
Patrick Venture | 5e6ac71 | 2017-10-25 12:16:19 -0700 | [diff] [blame] | 2 | |
Vernon Mauery | e08fbff | 2019-04-03 09:19:34 -0700 | [diff] [blame] | 3 | #include <ipmid/api.hpp> |
Patrick Venture | 5e6ac71 | 2017-10-25 12:16:19 -0700 | [diff] [blame] | 4 | |
| 5 | /** @brief The RESET watchdog IPMI command. |
Patrick Venture | 5e6ac71 | 2017-10-25 12:16:19 -0700 | [diff] [blame] | 6 | */ |
Vernon Mauery | 11df4f6 | 2019-03-25 14:17:54 -0700 | [diff] [blame] | 7 | ipmi::RspType<> ipmiAppResetWatchdogTimer(); |
Patrick Venture | 5e6ac71 | 2017-10-25 12:16:19 -0700 | [diff] [blame] | 8 | |
William A. Kennington III | 61d5f7b | 2018-02-09 15:23:53 -0800 | [diff] [blame] | 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 | */ |
Patrick Venture | 0b02be9 | 2018-08-31 11:55:55 -0700 | [diff] [blame] | 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); |
William A. Kennington III | 73f4451 | 2018-02-09 15:28:46 -0800 | [diff] [blame] | 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 | */ |
Patrick Venture | 0b02be9 | 2018-08-31 11:55:55 -0700 | [diff] [blame] | 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); |