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

Function remove_services

test/test_annotations/test_annotations_server_impl.cpp:87–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85////////////////////////////////////////////////////////////////////////////////
86
87void remove_services(erpc::SimpleServer *server)
88{
89 /* Remove services
90 * Example: server->removeService (svc);
91 */
92 server->removeService(svc);
93 /* Delete unused service
94 */
95 delete svc->getHandler();
96 delete svc;
97}
98
99#ifdef __cplusplus
100extern "C" {

Callers

nothing calls this directly

Calls 2

removeServiceMethod · 0.80
getHandlerMethod · 0.45

Tested by

no test coverage detected