diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2021-11-26 12:42:28 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2021-12-24 14:03:15 +0100 |
commit | 24e634229d27cd9743c5c5cfa3e6cedd98bf1379 (patch) | |
tree | 185e13bf6db4c342005ffeb8832ae6aa49dfe397 /libmm-glib/mm-3gpp-profile.h | |
parent | e61fd7ca589110810baec2237d052b564dfe4488 (diff) |
libmm-glib: new 'profile-enabled' 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-3gpp-profile.h')
-rw-r--r-- | libmm-glib/mm-3gpp-profile.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libmm-glib/mm-3gpp-profile.h b/libmm-glib/mm-3gpp-profile.h index 21a95ccd..ecff787a 100644 --- a/libmm-glib/mm-3gpp-profile.h +++ b/libmm-glib/mm-3gpp-profile.h @@ -92,6 +92,8 @@ void mm_3gpp_profile_set_apn_type (MM3gppProfile *s MMBearerApnType apn_type); void mm_3gpp_profile_set_access_type_preference (MM3gppProfile *self, MMBearerAccessTypePreference access_type_preference); +void mm_3gpp_profile_set_enabled (MM3gppProfile *self, + gboolean enabled); gint mm_3gpp_profile_get_profile_id (MM3gppProfile *self); const gchar *mm_3gpp_profile_get_profile_name (MM3gppProfile *self); @@ -102,6 +104,7 @@ const gchar *mm_3gpp_profile_get_password (MM3gpp MMBearerIpFamily mm_3gpp_profile_get_ip_type (MM3gppProfile *self); MMBearerApnType mm_3gpp_profile_get_apn_type (MM3gppProfile *self); MMBearerAccessTypePreference mm_3gpp_profile_get_access_type_preference (MM3gppProfile *self); +gboolean mm_3gpp_profile_get_enabled (MM3gppProfile *self); /*****************************************************************************/ /* ModemManager/libmm-glib/mmcli specific methods */ @@ -132,6 +135,7 @@ typedef enum { MM_3GPP_PROFILE_CMP_FLAGS_NO_APN_TYPE = 1 << 4, MM_3GPP_PROFILE_CMP_FLAGS_NO_IP_TYPE = 1 << 5, MM_3GPP_PROFILE_CMP_FLAGS_NO_ACCESS_TYPE_PREFERENCE = 1 << 6, + MM_3GPP_PROFILE_CMP_FLAGS_NO_ENABLED = 1 << 7, } MM3gppProfileCmpFlags; gboolean mm_3gpp_profile_cmp (MM3gppProfile *a, |