blob: 5359a333b71d3d83d53f3d755e70966ff8ef74be [file] [log] [blame]
William A. Kennington III61d5f7b2018-02-09 15:23:53 -08001#pragma once
Patrick Venture5e6ac712017-10-25 12:16:19 -07002
William A. Kennington III61d5f7b2018-02-09 15:23:53 -08003#include "host-ipmid/ipmid-api.h"
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 */
William A. Kennington III61d5f7b2018-02-09 15:23:53 -080016ipmi_ret_t ipmi_app_watchdog_reset(
Patrick Venture894571d2017-11-09 14:46:54 -080017 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 Venture5e6ac712017-10-25 12:16:19 -070023
William A. Kennington III61d5f7b2018-02-09 15:23:53 -080024/** @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 */
35ipmi_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 III73f44512018-02-09 15:28:46 -080042
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 */
53ipmi_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);