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

Function remove_services

test/test_binary/test_binary_server_impl.cpp:113–123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111////////////////////////////////////////////////////////////////////////////////
112
113void remove_services(erpc::SimpleServer *server)
114{
115 /* Remove services
116 * Example: server->removeService (svc);
117 */
118 server->removeService(svc);
119 /* Delete unused service
120 */
121 delete svc->getHandler();
122 delete svc;
123}
124
125#ifdef __cplusplus
126extern "C" {

Callers

nothing calls this directly

Calls 2

removeServiceMethod · 0.80
getHandlerMethod · 0.45

Tested by

no test coverage detected