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 | |
William A. Kennington III | 61d5f7b | 2018-02-09 15:23:53 -0800 | [diff] [blame] | 3 | #include "host-ipmid/ipmid-api.h" |
Patrick Venture | 5e6ac71 | 2017-10-25 12:16:19 -0700 | [diff] [blame] | 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 | * |
William A. Kennington III | 61d5f7b | 2018-02-09 15:23:53 -0800 | [diff] [blame] | 14 | * @return IPMI_CC_OK on success, an IPMI error code otherwise. |
Patrick Venture | 5e6ac71 | 2017-10-25 12:16:19 -0700 | [diff] [blame] | 15 | */ |
Patrick Venture | 0b02be9 | 2018-08-31 11:55:55 -0700 | [diff] [blame] | 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); |
Patrick Venture | 5e6ac71 | 2017-10-25 12:16:19 -0700 | [diff] [blame] | 21 | |
William A. Kennington III | 61d5f7b | 2018-02-09 15:23:53 -0800 | [diff] [blame] | 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 | */ |
Patrick Venture | 0b02be9 | 2018-08-31 11:55:55 -0700 | [diff] [blame] | 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); |
William A. Kennington III | 73f4451 | 2018-02-09 15:28:46 -0800 | [diff] [blame] | 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 | */ |
Patrick Venture | 0b02be9 | 2018-08-31 11:55:55 -0700 | [diff] [blame] | 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); |