summaryrefslogtreecommitdiff
path: root/include/session.h
diff options
context:
space:
mode:
authorBjoern Thorwirth <external.bjoern.thorwirth@de.bosch.com>2017-09-28 16:52:23 +0200
committerDaniel Wagner <wagi@monom.org>2017-10-05 21:28:16 +0200
commit848f7820aa609185368a229fa729d67275988ada (patch)
treea64664520a0e54187c7d2ba6e7eb6552dc15822b /include/session.h
parentff736d05d01a3ae3ea6a4f1e2711736bf72e6295 (diff)
downloadconnman-848f7820aa609185368a229fa729d67275988ada.tar.gz
session: Add ContextIdentifier
The calling process, that implements the session API is identified by the user ID as it is runs. All processes of the same user share the same list of allowed bearers, and the same priority for choosing between available bearers. This extension allows processes to select a service context dependent behaviour for which the routing decision is made. This is an extention to session API interface. Helps to enable a service differentiation for processes run by the same user. Allows ConnMan to differentiate between bearer usage permissions and the respective priorities based on the requested service type.
Diffstat (limited to 'include/session.h')
-rw-r--r--include/session.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/session.h b/include/session.h
index 5106e886..39f33685 100644
--- a/include/session.h
+++ b/include/session.h
@@ -74,6 +74,7 @@ struct connman_session_config {
GSList *allowed_bearers;
char *allowed_interface;
bool source_ip_rule;
+ char *context_identifier;
};
typedef int (* connman_session_config_func_t) (struct connman_session *session,