1 #pragma once
2 
3 #include "host-ipmid/ipmid-api.h"
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  *
14  *  @return IPMI_CC_OK on success, an IPMI error code otherwise.
15  */
16 ipmi_ret_t ipmi_app_watchdog_reset(
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);
23 
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);
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);
60