diff --git a/Makefile.mesh b/Makefile.mesh index 1ace507af..502ba2a47 100644 --- a/Makefile.mesh +++ b/Makefile.mesh @@ -25,7 +25,7 @@ mesh_sources = mesh/mesh.h mesh/mesh.c \ mesh/provision.h mesh/prov.h \ mesh/model.h mesh/model.c \ mesh/cfgmod.h mesh/cfgmod-server.c \ - mesh/mesh-db.h mesh/mesh-db.c \ + mesh/mesh-config.h mesh/mesh-config-json.c \ mesh/util.h mesh/util.c \ mesh/dbus.h mesh/dbus.c \ mesh/agent.h mesh/agent.c \ diff --git a/mesh/cfgmod-server.c b/mesh/cfgmod-server.c index a19ddc72e..486c87307 100644 --- a/mesh/cfgmod-server.c +++ b/mesh/cfgmod-server.c @@ -32,8 +32,7 @@ #include "mesh/appkey.h" #include "mesh/model.h" #include "mesh/storage.h" -#include "mesh/mesh-db.h" - +#include "mesh/mesh-config.h" #include "mesh/cfgmod.h" #define CFG_MAX_MSG_LEN 380 diff --git a/mesh/mesh-db.c b/mesh/mesh-config-json.c similarity index 99% rename from mesh/mesh-db.c rename to mesh/mesh-config-json.c index e0a000261..35d0bd27e 100644 --- a/mesh/mesh-db.c +++ b/mesh/mesh-config-json.c @@ -31,8 +31,7 @@ #include "mesh/mesh-defs.h" #include "mesh/util.h" - -#include "mesh/mesh-db.h" +#include "mesh/mesh-config.h" #define CHECK_KEY_IDX_RANGE(x) (((x) >= 0) && ((x) <= 4095)) diff --git a/mesh/mesh-db.h b/mesh/mesh-config.h similarity index 100% rename from mesh/mesh-db.h rename to mesh/mesh-config.h diff --git a/mesh/model.c b/mesh/model.c index e08f95b71..0474762e0 100644 --- a/mesh/model.c +++ b/mesh/model.c @@ -30,7 +30,7 @@ #include "mesh/mesh.h" #include "mesh/crypto.h" #include "mesh/node.h" -#include "mesh/mesh-db.h" +#include "mesh/mesh-config.h" #include "mesh/net.h" #include "mesh/appkey.h" #include "mesh/cfgmod.h" diff --git a/mesh/node.c b/mesh/node.c index dc9781482..51cf4cda8 100644 --- a/mesh/node.c +++ b/mesh/node.c @@ -31,7 +31,7 @@ #include "mesh/mesh-defs.h" #include "mesh/mesh.h" #include "mesh/net.h" -#include "mesh/mesh-db.h" +#include "mesh/mesh-config.h" #include "mesh/provision.h" #include "mesh/storage.h" #include "mesh/keyring.h" diff --git a/mesh/storage.c b/mesh/storage.c index 2b7804242..bba2ef348 100644 --- a/mesh/storage.c +++ b/mesh/storage.c @@ -22,7 +22,6 @@ #endif #define _GNU_SOURCE -//#include #include #include #include @@ -37,7 +36,7 @@ #include "mesh/node.h" #include "mesh/net.h" #include "mesh/appkey.h" -#include "mesh/mesh-db.h" +#include "mesh/mesh-config.h" #include "mesh/util.h" #include "mesh/storage.h"