blob: 58b82ce69b19f13bf60a652c85774d75f10e8d2f [file] [log] [blame]
#pragma once
#include "handler.hpp"
#include <ipmid/api.h>
namespace google
{
namespace ipmi
{
struct CableReply
{
uint8_t subcommand;
uint8_t value;
} __attribute__((packed));
//
// Handle the cablecheck. Sys must supply which ethernet device they're
// interested in.
ipmi_ret_t cableCheck(const uint8_t* reqBuf, uint8_t* replyBuf, size_t* dataLen,
const HandlerInterface* handler);
} // namespace ipmi
} // namespace google