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 | 4414fb8 | 2018-08-20 12:13:09 +0930 | [diff] [blame] | 10 | int (*set_events)(struct mbox_context *context, uint8_t events); |
| 11 | int (*clear_events)(struct mbox_context *context, uint8_t events); |
Andrew Jeffery | 5335f09 | 2018-08-09 14:56:08 +0930 | [diff] [blame] | 12 | }; |
| 13 | |
| 14 | #endif /* TRANSPORT_H */ |