blob: ba609504d8e81300a8a83486ef58f8e46e768910 [file] [log] [blame]
Jeremy Kerr672c8852019-03-01 12:18:07 +08001/* SPDX-License-Identifier: Apache-2.0 */
2
3#ifndef _LIBMCTP_ASTLPCL_H
4#define _LIBMCTP_ASTLPCL_H
5
6#ifdef __cplusplus
7extern "C" {
8#endif
9
10#include "libmctp.h"
11
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 */