Diff

core/componentmanager.lua @ 1693:56e23b0b3893

componentmanager: Added function to get a list of children for a given hostname
author Waqas Hussain <waqas20@gmail.com>
date Tue, 18 Aug 2009 12:25:59 +0500
parent 1523:841d61be198f
child 1705:99c9f59ed365
line wrap: on
line diff
--- 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;