blob: 32d6f16bec5eff725acc9fc8b022dce79671c987 [file] [log] [blame]
William A. Kennington III61d5f7b2018-02-09 15:23:53 -08001#pragma once
Patrick Venture5e6ac712017-10-25 12:16:19 -07002
Vernon Mauerye08fbff2019-04-03 09:19:34 -07003#include <ipmid/api.hpp>
Patrick Venture5e6ac712017-10-25 12:16:19 -07004
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 III61d5f7b2018-02-09 15:23:53 -080014 * @return IPMI_CC_OK on success, an IPMI error code otherwise.
Patrick Venture5e6ac712017-10-25 12:16:19 -070015 */
Patrick Venture0b02be92018-08-31 11:55:55 -070016ipmi_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 Venture5e6ac712017-10-25 12:16:19 -070021
William A. Kennington III61d5f7b2018-02-09 15:23:53 -080022/** @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 Venture0b02be92018-08-31 11:55:55 -070033ipmi_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 III73f44512018-02-09 15:28:46 -080038
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 Venture0b02be92018-08-31 11:55:55 -070049ipmi_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);