xref: /openbmc/hiomapd/transport.h (revision fe0c9e86)
1 /* SPDX-License-Identifier: Apache-2.0 */
2 /* Copyright (C) 2018 IBM Corp. */
3 
4 #ifndef TRANSPORT_H
5 #define TRANSPORT_H
6 
7 struct mbox_context;
8 
9 struct transport_ops {
10 	int (*put_events)(struct mbox_context *context, uint8_t mask);
11 	int (*set_events)(struct mbox_context *context, uint8_t events,
12 			  uint8_t mask);
13 	int (*clear_events)(struct mbox_context *context, uint8_t events,
14 			    uint8_t mask);
15 };
16 
17 #endif /* TRANSPORT_H */
18