libmctp-astlpc.h (4df106db7766a56d6db67556b0072295c2d5659d) | libmctp-astlpc.h (400766f94322a00981b012e714734cab0ed52e68) |
---|---|
1/* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later */ 2 3#ifndef _LIBMCTP_ASTLPCL_H 4#define _LIBMCTP_ASTLPCL_H 5 6#ifdef __cplusplus 7extern "C" { 8#endif --- 31 unchanged lines hidden (view full) --- 40void mctp_astlpc_destroy(struct mctp_binding_astlpc *astlpc); 41 42struct mctp_binding *mctp_binding_astlpc_core(struct mctp_binding_astlpc *b); 43 44bool mctp_astlpc_tx_done(struct mctp_binding_astlpc *astlpc); 45int mctp_astlpc_poll(struct mctp_binding_astlpc *astlpc); 46 47/* fileio-based interface */ | 1/* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later */ 2 3#ifndef _LIBMCTP_ASTLPCL_H 4#define _LIBMCTP_ASTLPCL_H 5 6#ifdef __cplusplus 7extern "C" { 8#endif --- 31 unchanged lines hidden (view full) --- 40void mctp_astlpc_destroy(struct mctp_binding_astlpc *astlpc); 41 42struct mctp_binding *mctp_binding_astlpc_core(struct mctp_binding_astlpc *b); 43 44bool mctp_astlpc_tx_done(struct mctp_binding_astlpc *astlpc); 45int mctp_astlpc_poll(struct mctp_binding_astlpc *astlpc); 46 47/* fileio-based interface */ |
48struct mctp_binding_astlpc *mctp_astlpc_init_fileio(void); | 48struct mctp_binding_astlpc *mctp_astlpc_init_fileio(const char *kcs_path); |
49 50struct pollfd; 51int mctp_astlpc_init_pollfd(struct mctp_binding_astlpc *astlpc, 52 struct pollfd *pollfd); 53 54#ifdef __cplusplus 55} 56#endif 57 58#endif /* _LIBMCTP_ASTLPC_H */ | 49 50struct pollfd; 51int mctp_astlpc_init_pollfd(struct mctp_binding_astlpc *astlpc, 52 struct pollfd *pollfd); 53 54#ifdef __cplusplus 55} 56#endif 57 58#endif /* _LIBMCTP_ASTLPC_H */ |