core/componentmanager.lua

changeset 3561
579c087059fc
parent 3547
3242e70f1058
child 3584
5d880c365dd4
equal deleted inserted replaced
3560:fb49b63e3fe2 3561:579c087059fc
150 else 150 else
151 log("error", "Attempt to remove component for non-existing host: "..host); 151 log("error", "Attempt to remove component for non-existing host: "..host);
152 end 152 end
153 end 153 end
154 154
155 function set_component_handler(host, handler)
156 components[host] = handler;
157 end
158
159 function get_children(host) 155 function get_children(host)
160 return disco_items:get(host) or NULL; 156 return disco_items:get(host) or NULL;
161 end 157 end
162 158
163 return _M; 159 return _M;

mercurial