summaryrefslogtreecommitdiffstats
path: root/apphandler.h
diff options
context:
space:
mode:
authorPatrick Venture <venture@google.com>2017-10-26 11:11:14 -0700
committerPatrick Venture <venture@google.com>2017-10-26 14:01:40 -0700
commit5794fcf6f311068ef88a0cb2bd838953f08c3223 (patch)
tree5cfb6f5eadef317048291a966aac19758f03d6fa /apphandler.h
parent5e6ac715611ab118d243318ea44523cc67de77c4 (diff)
downloadphosphor-host-ipmid-5794fcf6f311068ef88a0cb2bd838953f08c3223.tar.gz
phosphor-host-ipmid-5794fcf6f311068ef88a0cb2bd838953f08c3223.zip
apphandler: channel: split out commands
I split out the channel commands into their own subordinate file from the apphandler.cpp. There are three commands in apphandler for the channel information. There are other commands in the transporthandler that correlate. Moving this is step one in a larger task to enable multiple channels. Change-Id: I2e434a1da942325fc420079415edb39622f4e346 Signed-off-by: Patrick Venture <venture@google.com>
Diffstat (limited to 'apphandler.h')
-rw-r--r--apphandler.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/apphandler.h b/apphandler.h
index 497b24b..72997d9 100644
--- a/apphandler.h
+++ b/apphandler.h
@@ -19,24 +19,4 @@ enum ipmi_netfn_app_cmds
IPMI_CMD_GET_CHAN_INFO = 0x42,
};
-/** @struct GetChannelAccessRequest
- *
- * IPMI payload for Get Channel access command request.
- */
-struct GetChannelAccessRequest
-{
- uint8_t channelNumber; //!< Channel number.
- uint8_t volatileSetting; //!< Get non-volatile or the volatile setting.
-} __attribute__((packed));
-
-/** @struct GetChannelAccessResponse
- *
- * IPMI payload for Get Channel access command response.
- */
-struct GetChannelAccessResponse
-{
- uint8_t settings; //!< Channel settings.
- uint8_t privilegeLimit; //!< Channel privilege level limit.
-} __attribute__((packed));
-
#endif
OpenPOWER on IntegriCloud