config: Add a function to provision mutable service
authorTomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
Mon, 25 Feb 2013 15:49:50 +0000 (17:49 +0200)
committerPatrik Flykt <patrik.flykt@linux.intel.com>
Tue, 26 Feb 2013 10:48:06 +0000 (12:48 +0200)
commite8a408eb0014771357cba2ce7399da906784c1e7
treefc9bde00e8fc351bc886eb478d089f0bfd4ca2bc
parent143ef96a6fcd70d7e461882f9dcdf97b18694940
config: Add a function to provision mutable service

The point here is to create a virtual configuration, which does not come
from a real file. This is a handy way for plugins to be able to provision
services without creating any file on the FS.

In case of a wifi configuration type and if connect is requested, it will
trigger a scan, thus leading to a possible service being provisioned by
such virtual configuration. If so and if connect was requested: the service
will be asked to connect.
include/provision.h
src/config.c