aboutsummaryrefslogtreecommitdiff
path: root/libmm-glib/mm-common-helpers.c
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2021-11-26 21:18:53 +0100
committerAleksander Morgado <aleksander@aleksander.es>2021-12-24 14:03:15 +0100
commit50fc0101f58f083cad6dc754fa4c688f80f36acc (patch)
treedbc6c681f6ffa097312cdc4d5ee7833e6546e2bf /libmm-glib/mm-common-helpers.c
parentf6a91b2250203e0f11f1d9dde9e8f9963e5c62a4 (diff)
libmm-glib: new 'profile-source' in 3GPP profile
Not applicable to bearer properties, as this is exclusively a proflie management setting, unrelated to connection attempts.
Diffstat (limited to 'libmm-glib/mm-common-helpers.c')
-rw-r--r--libmm-glib/mm-common-helpers.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/libmm-glib/mm-common-helpers.c b/libmm-glib/mm-common-helpers.c
index 69838cac..b7883b26 100644
--- a/libmm-glib/mm-common-helpers.c
+++ b/libmm-glib/mm-common-helpers.c
@@ -716,6 +716,16 @@ mm_common_get_access_type_preference_from_string (const gchar *str,
error);
}
+MMBearerProfileSource
+mm_common_get_profile_source_from_string (const gchar *str,
+ GError **error)
+{
+ return _enum_from_string (MM_TYPE_BEARER_PROFILE_SOURCE,
+ str,
+ MM_BEARER_PROFILE_SOURCE_UNKNOWN,
+ error);
+}
+
/******************************************************************************/
/* MMModemPortInfo array management */