Andrew Jeffery | 5335f09 | 2018-08-09 14:56:08 +0930 | [diff] [blame] | 1 | /* SPDX-License-Identifier: Apache-2.0 */ |
| 2 | /* Copyright (C) 2018 IBM Corp. */ |
| 3 | |
| 4 | #ifndef TRANSPORT_H |
| 5 | #define TRANSPORT_H |
| 6 | |
Andrew Jeffery | 26558db | 2018-08-10 00:22:38 +0930 | [diff] [blame] | 7 | struct mbox_context; |
Andrew Jeffery | 5335f09 | 2018-08-09 14:56:08 +0930 | [diff] [blame] | 8 | |
| 9 | struct transport_ops { |
Andrew Jeffery | fe0c9e8 | 2018-11-01 14:02:17 +1030 | [diff] [blame] | 10 | int (*put_events)(struct mbox_context *context, uint8_t mask); |
Andrew Jeffery | f62601b | 2018-11-01 13:44:25 +1030 | [diff] [blame] | 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); |
Andrew Jeffery | 5335f09 | 2018-08-09 14:56:08 +0930 | [diff] [blame] | 15 | }; |
| 16 | |
| 17 | #endif /* TRANSPORT_H */ |