aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/componentmanager.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/componentmanager.lua b/core/componentmanager.lua
index 08868236..14f9105b 100644
--- a/core/componentmanager.lua
+++ b/core/componentmanager.lua
@@ -138,4 +138,8 @@ function set_component_handler(host, handler)
components[host] = handler;
end
+function get_children(host)
+ return disco_items:get(host) or NULL;
+end
+
return _M;