Provider controll API is added. 30/18430/1
authorSung-jae Park <nicesj.park@samsung.com>
Mon, 24 Mar 2014 01:15:53 +0000 (10:15 +0900)
committerSung-jae Park <nicesj.park@samsung.com>
Mon, 24 Mar 2014 01:15:53 +0000 (10:15 +0900)
commit20200b161808bce9823282fad50d275e1f315fa2
tree27639e489fe1678745c139237030a7a4e123498e
parent2293fec9e1fc4fb7ccbb5f12c980464f2a533ec7
Provider controll API is added.

Provider can select the termination & reactivation behaviours of master.
As default setting, the master will terminate the provider if it has no running instances.
And it will reactivate the provider if a provider has termianted abnormally even though it has running instances.

But using this new API, the provider can select what the master should do for those cases.

To make the disconnection from a provider without termination a provider,
The provider now support the "disconnect" event.
So the master will send "disconnect" request instead of "terminate".

Change-Id: Iec89cc1c762ceadcf96ee1085ef481f61848d835
include/provider.h
packaging/libprovider.spec
src/fb.c
src/provider.c