Jeremy Kerr | 3d36ee2 | 2019-05-30 11:15:37 +0800 | [diff] [blame] | 1 | /* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later */ |
Jeremy Kerr | 672c885 | 2019-03-01 12:18:07 +0800 | [diff] [blame] | 2 | |
| 3 | #ifndef _LIBMCTP_ASTLPCL_H |
| 4 | #define _LIBMCTP_ASTLPCL_H |
| 5 | |
| 6 | #ifdef __cplusplus |
| 7 | extern "C" { |
| 8 | #endif |
| 9 | |
Jeremy Kerr | 8682ef2 | 2019-05-30 17:46:44 +0800 | [diff] [blame] | 10 | #include <libmctp.h> |
Jeremy Kerr | 672c885 | 2019-03-01 12:18:07 +0800 | [diff] [blame] | 11 | |
| 12 | struct mctp_binding_astlpc; |
| 13 | |
| 14 | struct mctp_binding_astlpc *mctp_astlpc_init(void); |
| 15 | int mctp_astlpc_get_fd(struct mctp_binding_astlpc *astlpc); |
| 16 | void mctp_astlpc_register_bus(struct mctp_binding_astlpc *astlpc, |
| 17 | struct mctp *mctp, mctp_eid_t eid); |
| 18 | int mctp_astlpc_poll(struct mctp_binding_astlpc *astlpc); |
| 19 | |
| 20 | #ifdef __cplusplus |
| 21 | } |
| 22 | #endif |
| 23 | |
| 24 | #endif /* _LIBMCTP_ASTLPCL_H */ |