diff options
author | Inga Stotland <inga.stotland@intel.com> | 2019-07-14 16:23:18 -0700 |
---|---|---|
committer | Brian Gix <brian.gix@intel.com> | 2019-07-15 14:48:04 -0700 |
commit | 7cafe5fd7cc86497c851e273550fb74fc52917d0 (patch) | |
tree | 63ee403213bff14c3b4cd6e749cdd494a46cd0d4 /mesh/mesh.h | |
parent | d57524629036a4bbbe183b6a32afa02a87fe489d (diff) | |
download | bluez-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/mesh.h')
-rw-r--r-- | mesh/mesh.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mesh/mesh.h b/mesh/mesh.h index 78d4d4926..e0a3e1b96 100644 --- a/mesh/mesh.h +++ b/mesh/mesh.h @@ -42,3 +42,4 @@ bool mesh_send_cancel(const uint8_t *filter, uint8_t len); bool mesh_reg_prov_rx(prov_rx_cb_t cb, void *user_data); void mesh_unreg_prov_rx(prov_rx_cb_t cb); const char *mesh_prov_status_str(uint8_t status); +const char *mesh_get_storage_dir(void); |