summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorDaniel Wagner <daniel.wagner@bmw-carit.de>2012-09-26 09:05:46 (GMT)
committerDaniel Wagner <daniel.wagner@bmw-carit.de>2012-09-27 08:28:28 (GMT)
commitb290553dc8bca423d971a3dd314057fe03fe2ada (patch)
tree4b87c30ac02789aabafe6709061c36325a4ee5a5 /plugins
parent58e242e952d7ca59ef937adbccc71c504287b8f6 (diff)
downloadconnman-b290553dc8bca423d971a3dd314057fe03fe2ada.zip
connman-b290553dc8bca423d971a3dd314057fe03fe2ada.tar.gz
connman-b290553dc8bca423d971a3dd314057fe03fe2ada.tar.bz2
session: Add plugin priority
Support several session configuration plugins at runtime. Set the default priority to low for the current policy plugin.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/session_policy.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/session_policy.c b/plugins/session_policy.c
index b001ea8..acbf154 100644
--- a/plugins/session_policy.c
+++ b/plugins/session_policy.c
@@ -61,6 +61,7 @@ static int policy_get_string(const char *id, const char *key, char **val)
static struct connman_session_policy session_policy = {
.name = "session policy configuration",
+ .priority = CONNMAN_SESSION_POLICY_PRIORITY_LOW,
.get_bool = policy_get_bool,
.get_string = policy_get_string,
};