blob: bbc8444c204226a53318f3f8a23eab8447843f22 [file] [log] [blame]
Andrew Jeffery5335f092018-08-09 14:56:08 +09301/* SPDX-License-Identifier: Apache-2.0 */
2/* Copyright (C) 2018 IBM Corp. */
3
4#ifndef TRANSPORT_H
5#define TRANSPORT_H
6
Andrew Jeffery26558db2018-08-10 00:22:38 +09307struct mbox_context;
Andrew Jeffery5335f092018-08-09 14:56:08 +09308
9struct transport_ops {
Andrew Jefferyfe0c9e82018-11-01 14:02:17 +103010 int (*put_events)(struct mbox_context *context, uint8_t mask);
Andrew Jefferyf62601b2018-11-01 13:44:25 +103011 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 Jeffery5335f092018-08-09 14:56:08 +093015};
16
17#endif /* TRANSPORT_H */