MCPcopy Create free account
hub / github.com/EmbeddedRPC/erpc / remove_services

Function remove_services

test/test_enums/test_enums_server_impl.cpp:144–154  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

142////////////////////////////////////////////////////////////////////////////////
143
144void remove_services(erpc::SimpleServer *server)
145{
146 /* Remove services
147 * Example: server->removeService (svc);
148 */
149 server->removeService(svc);
150 /* Delete unused service
151 */
152 delete svc->getHandler();
153 delete svc;
154}
155
156#ifdef __cplusplus
157extern "C" {

Callers

nothing calls this directly

Calls 2

removeServiceMethod · 0.80
getHandlerMethod · 0.45

Tested by

no test coverage detected