blob: 3f91f4f43633cded25aaed6f9135ad276b3d3c13 [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.
Patrick Venture5e6ac712017-10-25 12:16:19 -07006 */
Vernon Mauery11df4f62019-03-25 14:17:54 -07007ipmi::RspType<> ipmiAppResetWatchdogTimer();
Patrick Venture5e6ac712017-10-25 12:16:19 -07008
William A. Kennington III61d5f7b2018-02-09 15:23:53 -08009/** @brief The SET watchdog IPMI command.
10 *
11 * @param[in] netfn
12 * @param[in] cmd
13 * @param[in] request
14 * @param[in,out] response
15 * @param[out] data_len
16 * @param[in] context
17 *
18 * @return IPMI_CC_OK on success, an IPMI error code otherwise.
19 */
Patrick Venture0b02be92018-08-31 11:55:55 -070020ipmi_ret_t ipmi_app_watchdog_set(ipmi_netfn_t netfn, ipmi_cmd_t cmd,
21 ipmi_request_t request,
22 ipmi_response_t response,
23 ipmi_data_len_t data_len,
24 ipmi_context_t context);
William A. Kennington III73f44512018-02-09 15:28:46 -080025
26/** @brief The GET watchdog IPMI command.
27 * @param[in] netfn
28 * @param[in] cmd
29 * @param[in] request
30 * @param[in,out] response
31 * @param[out] data_len
32 * @param[in] context
33 *
34 * @return IPMI_CC_OK on success, an IPMI error code otherwise.
35 */
Patrick Venture0b02be92018-08-31 11:55:55 -070036ipmi_ret_t ipmi_app_watchdog_get(ipmi_netfn_t netfn, ipmi_cmd_t cmd,
37 ipmi_request_t request,
38 ipmi_response_t response,
39 ipmi_data_len_t data_len,
40 ipmi_context_t context);