Parent: d57524629036a4bbbe183b6a32afa02a87fe489d
Author: Inga Stotland <inga.stotland@intel.com>
Committer: Brian Gix <brian.gix@intel.com>
Date: 2019-07-16 00:48:04
Tree: 63ee403213bff14c3b4cd6e749cdd494a46cd0d4
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
| M | Makefile.mesh | | | 1 | - |
| M | mesh/cfgmod-server.c | | | 1 | - |
| M | mesh/mesh-config-json.c | | | 209 | ++++++++++++++++++++++++++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
| M | mesh/mesh-config.h | | | 7 | ++++- - - |
| M | mesh/mesh.c | | | 15 | ++++++++++- - - - - |
| M | mesh/mesh.h | | | 1 | + |
| M | mesh/model.c | | | 1 | - |
| M | mesh/node.c | | | 48 | ++++++++++++++++++++++++++++- - - - - - - - - - - - - - - - - - - - |
| M | mesh/node.h | | | 3 | +- - |
| D | mesh/storage.c | | | 254 | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
| D | mesh/storage.h | | | 27 | - - - - - - - - - - - - - - - - - - - - - - - - - - - |
| M | mesh/util.c | | | 39 | ++++++++++++++++++++++++++++++++++++++- |
| M | mesh/util.h | | | 1 | + |
13 files changed, 254 insertions(+), 353 deletions(-)