aboutsummaryrefslogtreecommitdiff
path: root/src/mod_pubsub/node_public.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/mod_pubsub/node_public.erl')
-rw-r--r--src/mod_pubsub/node_public.erl11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/mod_pubsub/node_public.erl b/src/mod_pubsub/node_public.erl
index ee440f933..5e26d8273 100644
--- a/src/mod_pubsub/node_public.erl
+++ b/src/mod_pubsub/node_public.erl
@@ -68,7 +68,9 @@
get_item/7,
get_item/2,
set_item/1,
- get_item_name/3
+ get_item_name/3,
+ node_to_path/1,
+ path_to_node/1
]).
@@ -194,3 +196,10 @@ set_item(Item) ->
%% node id.</p>
get_item_name(Host, Node, Id) ->
node_hometree:get_item_name(Host, Node, Id).
+
+node_to_path(Node) ->
+ node_flat:node_to_path(Node).
+
+path_to_node(Path) ->
+ node_flat:path_to_node(Path).
+