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

Function add_services

test/test_lists/test_lists_server_impl.cpp:425–433  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

423////////////////////////////////////////////////////////////////////////////////
424
425void add_services(erpc::SimpleServer *server)
426{
427 // define services to add on heap
428 // allocate on heap so service doesn't go out of scope at end of method
429 svc = new PointersService_service(new PointersService_server());
430
431 // add services
432 server->addService(svc);
433}
434
435////////////////////////////////////////////////////////////////////////////////
436// Remove service from server code

Callers

nothing calls this directly

Calls 1

addServiceMethod · 0.45

Tested by

no test coverage detected