Software /
code /
prosody
Comparison
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 |
comparison
equal
deleted
inserted
replaced
1692:be76bac8e174 | 1693:56e23b0b3893 |
---|---|
136 | 136 |
137 function set_component_handler(host, handler) | 137 function set_component_handler(host, handler) |
138 components[host] = handler; | 138 components[host] = handler; |
139 end | 139 end |
140 | 140 |
141 function get_children(host) | |
142 return disco_items:get(host) or NULL; | |
143 end | |
144 | |
141 return _M; | 145 return _M; |