summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorDaniel Wagner <daniel.wagner@bmw-carit.de>2012-09-13 13:30:26 (GMT)
committerPatrik Flykt <patrik.flykt@linux.intel.com>2012-09-14 13:32:00 (GMT)
commitdb79ab254a5882220a673924f4f48fe5aa14dddd (patch)
tree051b9432dd485b09c5160eda7f05d6f9454a8ad8 /plugins
parenta74d79da279e59fa4826c5dca880e50774f44f1a (diff)
downloadconnman-db79ab254a5882220a673924f4f48fe5aa14dddd.zip
connman-db79ab254a5882220a673924f4f48fe5aa14dddd.tar.gz
connman-db79ab254a5882220a673924f4f48fe5aa14dddd.tar.bz2
session: Fix configuration plugin build
Instead of allow the user configuring which plugin should build and used via issuing 'configure --with-configplugin=foo' add explicit enable flags 'configure --enable-session-policy'. Also with this patch, the name is changed from session-default to session-policy.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/session_policy.c (renamed from plugins/session_default.c)4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/session_default.c b/plugins/session_policy.c
index d62a596..626d9bb 100644
--- a/plugins/session_default.c
+++ b/plugins/session_policy.c
@@ -60,7 +60,7 @@ static int config_get_string(const char *id, const char *key, char **val)
}
static struct connman_session_config session_config = {
- .name = "session default configuration",
+ .name = "session policy configuration",
.get_bool = config_get_bool,
.get_string = config_get_string,
};
@@ -81,6 +81,6 @@ static void session_config_exit(void)
connman_session_config_unregister(&session_config);
}
-CONNMAN_PLUGIN_DEFINE(session_default, "Session default configuration plugin",
+CONNMAN_PLUGIN_DEFINE(session_policy, "Session policy configuration plugin",
VERSION, CONNMAN_PLUGIN_PRIORITY_DEFAULT,
session_config_init, session_config_exit)