# HG changeset patch # User Waqas Hussain # Date 1250580359 -18000 # Node ID 56e23b0b389300dd72ca04a4da6287ad8fb6d650 # Parent be76bac8e17481895e43c8a7430841ba410b23be componentmanager: Added function to get a list of children for a given hostname diff -r be76bac8e174 -r 56e23b0b3893 core/componentmanager.lua --- a/core/componentmanager.lua Thu Aug 13 17:21:44 2009 +0500 +++ b/core/componentmanager.lua Tue Aug 18 12:25:59 2009 +0500 @@ -138,4 +138,8 @@ components[host] = handler; end +function get_children(host) + return disco_items:get(host) or NULL; +end + return _M;