From dc32d11948edcf57bc8616f54ec558e0aa0e6763 Mon Sep 17 00:00:00 2001 From: Waqas Hussain Date: Tue, 18 Aug 2009 12:25:59 +0500 Subject: componentmanager: Added function to get a list of children for a given hostname --- core/componentmanager.lua | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'core') 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; -- cgit v1.2.3