diff options
Diffstat (limited to 'core/pldm/pldm.h')
-rw-r--r-- | core/pldm/pldm.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/core/pldm/pldm.h b/core/pldm/pldm.h index bd32cf8..d6eda42 100644 --- a/core/pldm/pldm.h +++ b/core/pldm/pldm.h @@ -9,6 +9,8 @@ #include <base.h> #include <pldm.h> +#define PLDM_MSG_SIZE(x) (sizeof(struct pldm_msg_hdr) + sizeof(x)) + struct pldm_tx_data { /* Contains an message header and payload of an MCTP packet. * Size of data[] @@ -41,4 +43,8 @@ int pldm_mctp_message_tx(struct pldm_tx_data *tx); int pldm_mctp_message_rx(uint8_t eid, bool tag_owner, uint8_t msg_tag, const uint8_t *buf, int len); +/* Responder support */ +int pldm_responder_handle_request(struct pldm_rx_data *rx); +int pldm_responder_init(void); + #endif /* __COREPLDM_H__ */ |