summaryrefslogtreecommitdiff
path: root/unit
diff options
context:
space:
mode:
authorDaniel Wagner <daniel.wagner@bmw-carit.de>2012-09-26 13:52:30 +0200
committerDaniel Wagner <daniel.wagner@bmw-carit.de>2012-09-27 10:28:28 +0200
commitfb0a3539dfaa843d1c7369a08507629a17aabee9 (patch)
tree0abb3164f19f4a1490a63ae436baf0e3524bf1cc /unit
parentebf6aa36dd34c7dabdca48bd64dc6297f102ad1e (diff)
downloadconnman-fb0a3539dfaa843d1c7369a08507629a17aabee9.tar.gz
connman-fb0a3539dfaa843d1c7369a08507629a17aabee9.tar.bz2
connman-fb0a3539dfaa843d1c7369a08507629a17aabee9.zip
session: Move configuration bits to a public struct
Instead of passing basic datatypes between the session core and the policy plugin, provide a complex data structure which holds the session configuration.
Diffstat (limited to 'unit')
-rw-r--r--unit/test-connman.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/unit/test-connman.h b/unit/test-connman.h
index e2a494e4..a21f5269 100644
--- a/unit/test-connman.h
+++ b/unit/test-connman.h
@@ -77,21 +77,6 @@ enum connman_session_state {
CONNMAN_SESSION_STATE_ONLINE = 2,
};
-enum connman_session_type {
- CONNMAN_SESSION_TYPE_ANY = 0,
- CONNMAN_SESSION_TYPE_LOCAL = 1,
- CONNMAN_SESSION_TYPE_INTERNET = 2,
-};
-
-enum connman_session_roaming_policy {
- CONNMAN_SESSION_ROAMING_POLICY_UNKNOWN = 0,
- CONNMAN_SESSION_ROAMING_POLICY_DEFAULT = 1,
- CONNMAN_SESSION_ROAMING_POLICY_ALWAYS = 2,
- CONNMAN_SESSION_ROAMING_POLICY_FORBIDDEN = 3,
- CONNMAN_SESSION_ROAMING_POLICY_NATIONAL = 4,
- CONNMAN_SESSION_ROAMING_POLICY_INTERNATIONAL = 5,
-};
-
struct test_session_info {
enum connman_session_state state;
char *name;