protocol: Provide abstraction over event notification

How this works will be transport-dependent. Move the event notification
helpers into the protocol abstraction and call-back through the
registered flush handler as necessary.

Change-Id: I29e3a9a9785b92de46a2b2750257fb7f8480a184
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
diff --git a/transport.h b/transport.h
new file mode 100644
index 0000000..d6ec39e
--- /dev/null
+++ b/transport.h
@@ -0,0 +1,13 @@
+/* SPDX-License-Identifier: Apache-2.0 */
+/* Copyright (C) 2018 IBM Corp. */
+
+#ifndef TRANSPORT_H
+#define TRANSPORT_H
+
+#include "mbox.h"
+
+struct transport_ops {
+	int (*flush_events)(struct mbox_context *context);
+};
+
+#endif /* TRANSPORT_H */