summaryrefslogtreecommitdiff
path: root/mesh/node.h
diff options
context:
space:
mode:
authorInga Stotland <inga.stotland@intel.com>2019-07-14 16:23:19 -0700
committerBrian Gix <brian.gix@intel.com>2019-07-15 14:48:04 -0700
commit2881bc143336418ebf72d38053bbf6b10fec12b9 (patch)
tree004a2dad2ce29803642134bf4860fd433e072c4b /mesh/node.h
parent7cafe5fd7cc86497c851e273550fb74fc52917d0 (diff)
downloadbluez-2881bc143336418ebf72d38053bbf6b10fec12b9.tar.gz
mesh: Create or re-use a node storage directory for keyring
This adds APIs to set a directory for storing node's key ring info. The directory is named MESH_STORAGE_DIR/<node uuid>. This directory may contain additional node info plus node configuration, if node configuration storage follows the same layout (as it does when JSON based config file format is used).
Diffstat (limited to 'mesh/node.h')
-rw-r--r--mesh/node.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/mesh/node.h b/mesh/node.h
index e387b4d09..56ca796cd 100644
--- a/mesh/node.h
+++ b/mesh/node.h
@@ -100,7 +100,6 @@ uint16_t node_id_get(struct mesh_node *node);
bool node_dbus_init(struct l_dbus *bus);
void node_cleanup_all(void);
struct mesh_config *node_config_get(struct mesh_node *node);
-void node_path_set(struct mesh_node *node, char *path);
-char *node_path_get(struct mesh_node *node);
struct mesh_agent *node_get_agent(struct mesh_node *node);
+const char *node_get_storage_dir(struct mesh_node *node);
bool node_load_from_storage(const char *storage_dir);