Implement org.genivi.LUCHandler1.Deregister()
authorJonathan Maw <jonathan.maw@codethink.co.uk>
Thu, 14 Jun 2012 09:29:20 +0000 (10:29 +0100)
committerJannis Pohlmann <jannis.pohlmann@codethink.co.uk>
Thu, 14 Jun 2012 15:58:46 +0000 (16:58 +0100)
commit3912306a2c88388bcdc57174d378f69199692d0f
tree3721426e1e4afecd056cb558ec3ba3802fd97795
parent3fa5e7efbe9c51d660980b9e80cca5762cd4ebbe
Implement org.genivi.LUCHandler1.Deregister()

This commit implements the "handle-deregister" signal handler of the
LUCHandler interface skeleton. It essentially copies the current last
user context and drops all the apps that are part of the Deregister()
call. It then updates the org.genivi.LUCHandler1:LastUserContext
property.

The deregistration algorithm makes sure that LUC types for which no apps
are registered anymore are dropped from the LUC entirely.
common/watchdog-client.c
luc-handler/luc-handler-application.c
luc-handler/luc-handler-service.c