@@ -13,12 +13,11 @@ endif
mesh_sources = mesh/mesh.h mesh/mesh.c \
mesh/net-keys.h mesh/net-keys.c \
mesh/mesh-io.h mesh/mesh-io.c \
- mesh/mesh-mgmt.c mesh/mesh-mgmt.h \
+ mesh/mesh-mgmt.h mesh/mesh-mgmt.c \
mesh/error.h mesh/mesh-io-api.h \
- mesh/mesh-io-generic.h \
- mesh/mesh-io-generic.c \
- mesh/mesh-io-unit.h \
- mesh/mesh-io-unit.c \
+ mesh/mesh-io-unit.h mesh/mesh-io-unit.c \
+ mesh/mesh-io-mgmt.h mesh/mesh-io-mgmt.c \
+ mesh/mesh-io-generic.h mesh/mesh-io-generic.c \
mesh/net.h mesh/net.c \
mesh/crypto.h mesh/crypto.c \
mesh/friend.h mesh/friend.c \
@@ -9,4 +9,3 @@
*/
extern const struct mesh_io_api mesh_io_generic;
-extern const struct mesh_io_api mesh_io_mgmt;
@@ -29,7 +29,7 @@
#include "mesh/mesh-mgmt.h"
#include "mesh/mesh-io.h"
#include "mesh/mesh-io-api.h"
-#include "mesh/mesh-io-generic.h"
+#include "mesh/mesh-io-mgmt.h"
struct mesh_io_private {
struct mesh_io *io;
new file mode 100644
@@ -0,0 +1,11 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
+/*
+ *
+ * BlueZ - Bluetooth protocol stack for Linux
+ *
+ * Copyright (C) 2018 Intel Corporation. All rights reserved.
+ *
+ *
+ */
+
+extern const struct mesh_io_api mesh_io_mgmt;
@@ -25,7 +25,7 @@
#include "mesh/dbus.h"
#include "mesh/mesh-io.h"
#include "mesh/mesh-io-api.h"
-#include "mesh/mesh-io-generic.h"
+#include "mesh/mesh-io-unit.h"
struct mesh_io_private {
struct mesh_io *io;
@@ -24,6 +24,7 @@
#include "mesh/mesh-io-api.h"
/* List of Mesh-IO Type headers */
+#include "mesh/mesh-io-mgmt.h"
#include "mesh/mesh-io-generic.h"
#include "mesh/mesh-io-unit.h"