aboutsummaryrefslogtreecommitdiff
path: root/include/pldm.h
blob: 617287fe33f802863f3685d4828818d0d56eb996 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
 * Copyright 2022 IBM Corp.
 */

#ifndef __PLDM_H__
#define __PLDM_H__

/**
 * Handle PLDM messages received from MCTP
 */
int pldm_mctp_message_rx(uint8_t eid, bool tag_owner, uint8_t msg_tag,
			 const uint8_t *buf, int len);

/**
 * PLDM over MCTP initialization
 */
int pldm_mctp_init(void);

/**
 * PLDM over MCTP stop
 */
void pldm_mctp_exit(void);

#endif /* __PLDM_H__ */