summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDaniel Wagner <daniel.wagner@bmw-carit.de>2012-11-02 16:26:14 (GMT)
committerDaniel Wagner <daniel.wagner@bmw-carit.de>2012-11-23 12:47:24 (GMT)
commit562e35614eeb4fb6fde9347c34203e61315846a8 (patch)
tree1d592ad1884044a0f116e8f2bd708cdda51557a1 /include
parent861a04bab6b19cb275c137f1cdfe559879a79565 (diff)
downloadconnman-562e35614eeb4fb6fde9347c34203e61315846a8.zip
connman-562e35614eeb4fb6fde9347c34203e61315846a8.tar.gz
connman-562e35614eeb4fb6fde9347c34203e61315846a8.tar.bz2
session: Add sessions config update function
Give a policy plugin a way to inform the session core that some of the config values have changed. This could be done in a more clever way, e.g. figure out only to update the necessary info entries but we keep it for now as simple and assume everthing has changed.
Diffstat (limited to 'include')
-rw-r--r--include/session.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/session.h b/include/session.h
index b93fbc7..f75b751 100644
--- a/include/session.h
+++ b/include/session.h
@@ -75,6 +75,8 @@ struct connman_session_policy {
int connman_session_policy_register(struct connman_session_policy *config);
void connman_session_policy_unregister(struct connman_session_policy *config);
+int connman_session_config_update(struct connman_session *session);
+
struct connman_session_config *connman_session_create_default_config(void);
#ifdef __cplusplus