blob: c09bd1c58e13d703671e92a459fd9cb05b5a0a36 [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);