componentmanager: Added function to get a list of children for a given hostname

Tue, 18 Aug 2009 12:25:59 +0500

author
Waqas Hussain <waqas20@gmail.com>
date
Tue, 18 Aug 2009 12:25:59 +0500
changeset 1693
56e23b0b3893
parent 1692
be76bac8e174
child 1694
0b7888c0995d

componentmanager: Added function to get a list of children for a given hostname

core/componentmanager.lua file | annotate | diff | comparison | revisions
--- 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;

mercurial