Comparison

core/portmanager.lua @ 4597:25d89c7d6aee

portmanager: Add get_service()
author Matthew Wild <mwild1@gmail.com>
date Sun, 11 Mar 2012 12:40:32 +0000
parent 4583:6f2789939d35
child 4598:d2bcb959d713
comparison
equal deleted inserted replaced
4596:87a5b7f39100 4597:25d89c7d6aee
126 126
127 fire_event("service-added", { name = service_name, service = service_info }); 127 fire_event("service-added", { name = service_name, service = service_info });
128 return true; 128 return true;
129 end 129 end
130 130
131 function get_service(service_name)
132 return services[service_name];
133 end
131 134
132 return _M; 135 return _M;