[PATCH v2] service: Keep ordering and send all services in ServicesAdded

Daniel Wagner wagi at monom.org
Tue Feb 28 01:25:10 PST 2012

On 28.02.2012 10:13, patrik.flykt at linux.intel.com wrote:
> From: Patrik Flykt <patrik.flykt at linux.intel.com>
> Keep services ordering and send also already known services
> in ServicesAdded signal. Properties are added for new services,
> while the dictionary is left empty for already known ones.
> When the service is removed, pack the value of "TRUE" to the
> removed service hash in order to indicate a removed object path.
> The service struct cannot be used, as it is freed immediately
> after returning from service_schedule_removed().

Tested and works nicely. Ack


More information about the connman mailing list