Simplify starting of services 87/15387/2
authorJosé Bollo <jose.bollo@iot.bzh>
Fri, 13 Jul 2018 14:38:55 +0000 (16:38 +0200)
committerJose Bollo <jose.bollo@iot.bzh>
Mon, 16 Jul 2018 15:09:23 +0000 (17:09 +0200)
commitbebb8fa967f3b71b609119b293d2869d56036586
tree213e124303fe9cec424283839d728d896da3cae0
parent2ab7061438040c68346124268ecf4081c835cbf2
Simplify starting of services

The previous version was confusing and was expecting
that onneed and share_session were always true.

Removing this parameter simplifies the code.

Also handle errors of required classes and apis at initialisation.

Change-Id: I7c99aa356cba41f368bd47cab797fa086a5740af
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
src/afb-api.h
src/afb-apiset.c
src/afb-apiset.h
src/afb-export.c
src/afb-export.h
src/main-afb-daemon.c
src/main-afs-supervisor.c
src/tests/apiset/test-apiset.c
src/tests/apiv3/test-apiv3.c