blob: 4bffd9331cc209a9d2dde8946660dcea6daf8039 [file] [log] [blame]
Jeremy Kerr3d36ee22019-05-30 11:15:37 +08001/* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later */
Jeremy Kerr672c8852019-03-01 12:18:07 +08002
3#ifndef _LIBMCTP_ASTLPCL_H
4#define _LIBMCTP_ASTLPCL_H
5
6#ifdef __cplusplus
7extern "C" {
8#endif
9
Jeremy Kerr8682ef22019-05-30 17:46:44 +080010#include <libmctp.h>
Jeremy Kerr672c8852019-03-01 12:18:07 +080011
12struct mctp_binding_astlpc;
13
14struct mctp_binding_astlpc *mctp_astlpc_init(void);
15int mctp_astlpc_get_fd(struct mctp_binding_astlpc *astlpc);
16void mctp_astlpc_register_bus(struct mctp_binding_astlpc *astlpc,
17 struct mctp *mctp, mctp_eid_t eid);
18int mctp_astlpc_poll(struct mctp_binding_astlpc *astlpc);
19
20#ifdef __cplusplus
21}
22#endif
23
24#endif /* _LIBMCTP_ASTLPCL_H */