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 | */ |
William A. Kennington III | 61d5f7b | 2018-02-09 15:23:53 -0800 | [diff] [blame] | 16 | ipmi_ret_t ipmi_app_watchdog_reset( |
Patrick Venture | 894571d | 2017-11-09 14:46:54 -0800 | [diff] [blame] | 17 | ipmi_netfn_t netfn, |
| 18 | ipmi_cmd_t cmd, |
| 19 | ipmi_request_t request, |
| 20 | ipmi_response_t response, |
| 21 | ipmi_data_len_t data_len, |
| 22 | ipmi_context_t context); |
Patrick Venture | 5e6ac71 | 2017-10-25 12:16:19 -0700 | [diff] [blame] | 23 | |
William A. Kennington III | 61d5f7b | 2018-02-09 15:23:53 -0800 | [diff] [blame] | 24 | /** @brief The SET watchdog IPMI command. |
| 25 | * |
| 26 | * @param[in] netfn |
| 27 | * @param[in] cmd |
| 28 | * @param[in] request |
| 29 | * @param[in,out] response |
| 30 | * @param[out] data_len |
| 31 | * @param[in] context |
| 32 | * |
| 33 | * @return IPMI_CC_OK on success, an IPMI error code otherwise. |
| 34 | */ |
| 35 | ipmi_ret_t ipmi_app_watchdog_set( |
| 36 | ipmi_netfn_t netfn, |
| 37 | ipmi_cmd_t cmd, |
| 38 | ipmi_request_t request, |
| 39 | ipmi_response_t response, |
| 40 | ipmi_data_len_t data_len, |
| 41 | ipmi_context_t context); |
William A. Kennington III | 73f4451 | 2018-02-09 15:28:46 -0800 | [diff] [blame] | 42 | |
| 43 | /** @brief The GET watchdog IPMI command. |
| 44 | * @param[in] netfn |
| 45 | * @param[in] cmd |
| 46 | * @param[in] request |
| 47 | * @param[in,out] response |
| 48 | * @param[out] data_len |
| 49 | * @param[in] context |
| 50 | * |
| 51 | * @return IPMI_CC_OK on success, an IPMI error code otherwise. |
| 52 | */ |
| 53 | ipmi_ret_t ipmi_app_watchdog_get( |
| 54 | ipmi_netfn_t netfn, |
| 55 | ipmi_cmd_t cmd, |
| 56 | ipmi_request_t request, |
| 57 | ipmi_response_t response, |
| 58 | ipmi_data_len_t data_len, |
| 59 | ipmi_context_t context); |