aboutsummaryrefslogtreecommitdiff
path: root/src/mm-bearer-mbim.h
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2013-04-14 12:39:45 +0200
committerAleksander Morgado <aleksander@lanedo.com>2013-04-17 15:19:41 +0200
commit032911ec20f984b306ba8fb6d45f243c81437fd2 (patch)
treeb54d020df9cc8a4b2cd9ed08f98e053e0daa4fda /src/mm-bearer-mbim.h
parent4609f708b8321dbd73af52a7958d46b13844e343 (diff)
bearer-mbim: gather a unique session id in the [0,255] range
Diffstat (limited to 'src/mm-bearer-mbim.h')
-rw-r--r--src/mm-bearer-mbim.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/mm-bearer-mbim.h b/src/mm-bearer-mbim.h
index 209f3bf8..c3e7f1fc 100644
--- a/src/mm-bearer-mbim.h
+++ b/src/mm-bearer-mbim.h
@@ -32,6 +32,8 @@
#define MM_IS_BEARER_MBIM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), MM_TYPE_BEARER_MBIM))
#define MM_BEARER_MBIM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), MM_TYPE_BEARER_MBIM, MMBearerMbimClass))
+#define MM_BEARER_MBIM_SESSION_ID "bearer-mbim-session-id"
+
typedef struct _MMBearerMbim MMBearerMbim;
typedef struct _MMBearerMbimClass MMBearerMbimClass;
typedef struct _MMBearerMbimPrivate MMBearerMbimPrivate;
@@ -50,6 +52,9 @@ GType mm_bearer_mbim_get_type (void);
/* MBIM bearer creation implementation.
* NOTE it is *not* a broadband bearer, so not async-initable */
MMBearer *mm_bearer_mbim_new (MMBroadbandModemMbim *modem,
- MMBearerProperties *config);
+ MMBearerProperties *config,
+ guint32 session_id);
+
+guint32 mm_bearer_mbim_get_session_id (MMBearerMbim *self);
#endif /* MM_BEARER_MBIM_H */