Initial MCTP core code

Just a skeleton of the MCTP library at present.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
diff --git a/libmctp-serial.h b/libmctp-serial.h
new file mode 100644
index 0000000..0d3b972
--- /dev/null
+++ b/libmctp-serial.h
@@ -0,0 +1,19 @@
+/* SPDX-License-Identifier: Apache-2.0 */
+
+#ifndef _LIBMCTP_SERIAL_H
+#define _LIBMCTP_SERIAL_H
+
+#include "libmctp.h"
+
+struct mctp_binding_serial;
+
+struct mctp_binding_serial *mctp_serial_init(void);
+int mctp_serial_get_fd(struct mctp_binding_serial *serial);
+void mctp_serial_register_bus(struct mctp_binding_serial *serial,
+		struct mctp *mctp, mctp_eid_t eid);
+int mctp_serial_read(struct mctp_binding_serial *serial);
+int mctp_serial_open_path(struct mctp_binding_serial *serial,
+		const char *path);
+void mctp_serial_open_fd(struct mctp_binding_serial *serial, int fd);
+
+#endif /* _LIBMCTP_SERIAL_H */