Update connman settings for single device as well
[platform/upstream/connman.git] / tools / session-test.h
old mode 100644 (file)
new mode 100755 (executable)
index 5e6d196..2c068bd
@@ -68,12 +68,6 @@ void util_session_cleanup(struct test_session *session);
 
 typedef void (* notify_func_t) (struct test_session *session);
 
-enum connman_session_state {
-       CONNMAN_SESSION_STATE_DISCONNECTED   = 0,
-       CONNMAN_SESSION_STATE_CONNECTED      = 1,
-       CONNMAN_SESSION_STATE_ONLINE         = 2,
-};
-
 struct test_session_info {
        enum connman_session_state state;
        char *name;
@@ -82,6 +76,9 @@ struct test_session_info {
        enum connman_session_type type;
        /* ipv4, ipv6 dicts */
        GSList *allowed_bearers;
+       char *allowed_interface;
+       bool source_ip_rule;
+       char *context_identifier;
 };
 
 struct test_session {