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

Function remove_services

test/test_builtin/test_builtin_server_impl.cpp:262–272  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

260////////////////////////////////////////////////////////////////////////////////
261
262void remove_services(erpc::SimpleServer *server)
263{
264 /* Remove services
265 * Example: server->removeService (svc);
266 */
267 server->removeService(svc);
268 /* Delete unused service
269 */
270 delete svc->getHandler();
271 delete svc;
272}
273
274#ifdef __cplusplus
275extern "C" {

Callers

nothing calls this directly

Calls 2

removeServiceMethod · 0.80
getHandlerMethod · 0.45

Tested by

no test coverage detected