From: Daniel Wagner <daniel.wag...@bmw-carit.de>

In order to support several session configuration plugins at runtime.
---
 include/session.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/include/session.h b/include/session.h
index 5aa3e5e..30e8859 100644
--- a/include/session.h
+++ b/include/session.h
@@ -28,11 +28,16 @@
 extern "C" {
 #endif
 
+#define CONNMAN_SESSION_CONFIG_PRIORITY_LOW      -100
+#define CONNMAN_SESSION_CONFIG_PRIORITY_DEFAULT     0
+#define CONNMAN_SESSION_CONFIG_PRIORITY_HIGH      100
+
 /*
  * The session are identified through the pid is only a temporary solution
  */
 struct connman_session_config {
        const char *name;
+       int priority;
        int (*get_bool) (const char *id, const char *key, connman_bool_t *val);
        int (*get_string) (const char *id, const char *key, char **val);
 };
-- 
1.7.12.315.g682ce8b

_______________________________________________
connman mailing list
connman@connman.net
http://lists.connman.net/listinfo/connman

Reply via email to