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

Function remove_services

test/test_lists/test_lists_server_impl.cpp:439–449  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

437////////////////////////////////////////////////////////////////////////////////
438
439void remove_services(erpc::SimpleServer *server)
440{
441 /* Remove services
442 * Example: server->removeService (svc);
443 */
444 server->removeService(svc);
445 /* Delete unused service
446 */
447 delete svc->getHandler();
448 delete svc;
449}
450
451#ifdef __cplusplus
452extern "C" {

Callers

nothing calls this directly

Calls 2

removeServiceMethod · 0.80
getHandlerMethod · 0.45

Tested by

no test coverage detected