mirror of
https://git.kernel.org/pub/scm/bluetooth/bluez.git
synced 2024-11-23 20:24:21 +08:00
mesh: Rename mesh-db.c to mesh-config-json.c
This moves mesh-db.h to mesh-config.h and mesh-db.c to mesh-config-json.c. mesh-config.h declares common APIs for storing mesh node configuration. mesh-config-json.c defines the APIs for JSOn specific storage. This allows for future parallel implementation a different (not JSON-based) mechanism of storing node configuration.
This commit is contained in:
parent
76700ab92b
commit
0c698b33a7
@ -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 \
|
||||
|
@ -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
|
||||
|
@ -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))
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -22,7 +22,6 @@
|
||||
#endif
|
||||
|
||||
#define _GNU_SOURCE
|
||||
//#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
@ -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"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user