diff options
author | Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com> | 2013-02-25 17:49:50 +0200 |
---|---|---|
committer | Patrik Flykt <patrik.flykt@linux.intel.com> | 2013-02-26 12:48:06 +0200 |
commit | e8a408eb0014771357cba2ce7399da906784c1e7 (patch) | |
tree | fc9bde00e8fc351bc886eb478d089f0bfd4ca2bc /include/provision.h | |
parent | 143ef96a6fcd70d7e461882f9dcdf97b18694940 (diff) | |
download | connman-e8a408eb0014771357cba2ce7399da906784c1e7.tar.gz connman-e8a408eb0014771357cba2ce7399da906784c1e7.tar.bz2 connman-e8a408eb0014771357cba2ce7399da906784c1e7.zip |
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.
Diffstat (limited to 'include/provision.h')
-rw-r--r-- | include/provision.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/provision.h b/include/provision.h index d6d7c72c..b5f736e8 100644 --- a/include/provision.h +++ b/include/provision.h @@ -42,6 +42,7 @@ struct connman_config_entry { connman_bool_t hidden; }; +int connman_config_provision_mutable_service(GKeyFile *keyfile); struct connman_config_entry **connman_config_get_entries(const char *type); void connman_config_free_entries(struct connman_config_entry **entries); |