From e8a408eb0014771357cba2ce7399da906784c1e7 Mon Sep 17 00:00:00 2001 From: Tomasz Bursztyka Date: Mon, 25 Feb 2013 17:49:50 +0200 Subject: 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 | 1 + 1 file changed, 1 insertion(+) (limited to 'include') 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); -- cgit v1.2.3