summaryrefslogtreecommitdiff
path: root/include/session.h
diff options
context:
space:
mode:
authorDaniel Wagner <daniel.wagner@bmw-carit.de>2012-11-02 17:26:14 +0100
committerDaniel Wagner <daniel.wagner@bmw-carit.de>2012-11-23 13:47:24 +0100
commit562e35614eeb4fb6fde9347c34203e61315846a8 (patch)
tree1d592ad1884044a0f116e8f2bd708cdda51557a1 /include/session.h
parent861a04bab6b19cb275c137f1cdfe559879a79565 (diff)
downloadconnman-562e35614eeb4fb6fde9347c34203e61315846a8.tar.gz
connman-562e35614eeb4fb6fde9347c34203e61315846a8.tar.bz2
connman-562e35614eeb4fb6fde9347c34203e61315846a8.zip
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/session.h')
-rw-r--r--include/session.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/session.h b/include/session.h
index b93fbc71..f75b7516 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