summaryrefslogtreecommitdiff
path: root/mesh/node.h
diff options
context:
space:
mode:
authorInga Stotland <inga.stotland@intel.com>2019-02-21 22:31:47 -0800
committerBrian Gix <brian.gix@intel.com>2019-02-28 08:54:47 -0800
commite5ab6013e6a15f813e00e77183de03d129e3e738 (patch)
tree709c2cdcf30307b20cc5f04451a9b3203c687a9a /mesh/node.h
parentddb5ed791827f4c39f077266c3a581eac6c78393 (diff)
downloadbluez-e5ab6013e6a15f813e00e77183de03d129e3e738.tar.gz
mesh: Cleanup storage save and remove procedures
To remove a node config directory completely, the directory needs to be empty. Both node.json and node,json.bak files must are deleted. Also, change storage_save_config() type to void to eliminate meaningless checks.
Diffstat (limited to 'mesh/node.h')
-rw-r--r--mesh/node.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/mesh/node.h b/mesh/node.h
index ee1d4a600..954dfca75 100644
--- a/mesh/node.h
+++ b/mesh/node.h
@@ -87,6 +87,7 @@ int node_attach(const char *app_path, const char *sender, uint64_t token,
node_attach_ready_func_t cb);
void node_build_attach_reply(struct l_dbus_message *reply, uint64_t token);
void node_id_set(struct mesh_node *node, uint16_t node_id);
+uint16_t node_id_get(struct mesh_node *node);
bool node_dbus_init(struct l_dbus *bus);
void node_cleanup_all(void);
void node_jconfig_set(struct mesh_node *node, void *jconfig);