summaryrefslogtreecommitdiffstats
path: root/transport.h
blob: bbc8444c204226a53318f3f8a23eab8447843f22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* SPDX-License-Identifier: Apache-2.0 */
/* Copyright (C) 2018 IBM Corp. */

#ifndef TRANSPORT_H
#define TRANSPORT_H

struct mbox_context;

struct transport_ops {
	int (*put_events)(struct mbox_context *context, uint8_t mask);
	int (*set_events)(struct mbox_context *context, uint8_t events,
			  uint8_t mask);
	int (*clear_events)(struct mbox_context *context, uint8_t events,
			    uint8_t mask);
};

#endif /* TRANSPORT_H */
OpenPOWER on IntegriCloud