summaryrefslogtreecommitdiff
path: root/mesh/model.c
diff options
context:
space:
mode:
authorInga Stotland <inga.stotland@intel.com>2019-07-14 16:23:18 -0700
committerBrian Gix <brian.gix@intel.com>2019-07-15 14:48:04 -0700
commit7cafe5fd7cc86497c851e273550fb74fc52917d0 (patch)
tree63ee403213bff14c3b4cd6e749cdd494a46cd0d4 /mesh/model.c
parentd57524629036a4bbbe183b6a32afa02a87fe489d (diff)
downloadbluez-7cafe5fd7cc86497c851e273550fb74fc52917d0.tar.gz
mesh: Manage node config directory in mesh-config
This completely removes storage.c file. Instead, the handling of mesh node configuration storage is done completely in mesh-config layer by calling the following API functions: bool mesh_config_load_nodes(const char *cfg_dir, mesh_config_node_func_t cb, void *user_data) void mesh_config_release(struct mesh_config *cfg) void mesh_config_destroy(struct mesh_config *cfg) bool mesh_config_save(struct mesh_config *cfg, bool no_wait, mesh_config_status_func_t cb, void *user_data) struct mesh_config *mesh_config_create(const char *cfg_path, const uint8_t uuid[16], struct mesh_config_node *node)
Diffstat (limited to 'mesh/model.c')
-rw-r--r--mesh/model.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/mesh/model.c b/mesh/model.c
index ef62a223a..785becb5f 100644
--- a/mesh/model.c
+++ b/mesh/model.c
@@ -33,7 +33,6 @@
#include "mesh/net.h"
#include "mesh/appkey.h"
#include "mesh/cfgmod.h"
-#include "mesh/storage.h"
#include "mesh/error.h"
#include "mesh/dbus.h"
#include "mesh/util.h"