aboutsummaryrefslogtreecommitdiff
path: root/libmm-glib/mm-3gpp-profile.h
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2021-11-26 12:12:46 +0100
committerAleksander Morgado <aleksander@aleksander.es>2021-12-24 14:03:13 +0100
commite61fd7ca589110810baec2237d052b564dfe4488 (patch)
treebea09762ba9684d57d0f471ac024b4637e03c9a0 /libmm-glib/mm-3gpp-profile.h
parentfc6bc84d226a3cd41c5bfd1c503ea53f7fefa596 (diff)
libmm-glib: new 'access-type-preference' in 3GPP profile and bearer properties
Diffstat (limited to 'libmm-glib/mm-3gpp-profile.h')
-rw-r--r--libmm-glib/mm-3gpp-profile.h66
1 files changed, 35 insertions, 31 deletions
diff --git a/libmm-glib/mm-3gpp-profile.h b/libmm-glib/mm-3gpp-profile.h
index bfda1e42..21a95ccd 100644
--- a/libmm-glib/mm-3gpp-profile.h
+++ b/libmm-glib/mm-3gpp-profile.h
@@ -74,31 +74,34 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC (MM3gppProfile, g_object_unref)
MM3gppProfile *mm_3gpp_profile_new (void);
-void mm_3gpp_profile_set_profile_id (MM3gppProfile *self,
- gint profile_id);
-void mm_3gpp_profile_set_profile_name (MM3gppProfile *self,
- const gchar *profile_name);
-void mm_3gpp_profile_set_apn (MM3gppProfile *self,
- const gchar *apn);
-void mm_3gpp_profile_set_allowed_auth (MM3gppProfile *self,
- MMBearerAllowedAuth allowed_auth);
-void mm_3gpp_profile_set_user (MM3gppProfile *self,
- const gchar *user);
-void mm_3gpp_profile_set_password (MM3gppProfile *self,
- const gchar *password);
-void mm_3gpp_profile_set_ip_type (MM3gppProfile *self,
- MMBearerIpFamily ip_type);
-void mm_3gpp_profile_set_apn_type (MM3gppProfile *self,
- MMBearerApnType apn_type);
-
-gint mm_3gpp_profile_get_profile_id (MM3gppProfile *self);
-const gchar *mm_3gpp_profile_get_profile_name (MM3gppProfile *self);
-const gchar *mm_3gpp_profile_get_apn (MM3gppProfile *self);
-MMBearerAllowedAuth mm_3gpp_profile_get_allowed_auth (MM3gppProfile *self);
-const gchar *mm_3gpp_profile_get_user (MM3gppProfile *self);
-const gchar *mm_3gpp_profile_get_password (MM3gppProfile *self);
-MMBearerIpFamily mm_3gpp_profile_get_ip_type (MM3gppProfile *self);
-MMBearerApnType mm_3gpp_profile_get_apn_type (MM3gppProfile *self);
+void mm_3gpp_profile_set_profile_id (MM3gppProfile *self,
+ gint profile_id);
+void mm_3gpp_profile_set_profile_name (MM3gppProfile *self,
+ const gchar *profile_name);
+void mm_3gpp_profile_set_apn (MM3gppProfile *self,
+ const gchar *apn);
+void mm_3gpp_profile_set_allowed_auth (MM3gppProfile *self,
+ MMBearerAllowedAuth allowed_auth);
+void mm_3gpp_profile_set_user (MM3gppProfile *self,
+ const gchar *user);
+void mm_3gpp_profile_set_password (MM3gppProfile *self,
+ const gchar *password);
+void mm_3gpp_profile_set_ip_type (MM3gppProfile *self,
+ MMBearerIpFamily ip_type);
+void mm_3gpp_profile_set_apn_type (MM3gppProfile *self,
+ MMBearerApnType apn_type);
+void mm_3gpp_profile_set_access_type_preference (MM3gppProfile *self,
+ MMBearerAccessTypePreference access_type_preference);
+
+gint mm_3gpp_profile_get_profile_id (MM3gppProfile *self);
+const gchar *mm_3gpp_profile_get_profile_name (MM3gppProfile *self);
+const gchar *mm_3gpp_profile_get_apn (MM3gppProfile *self);
+MMBearerAllowedAuth mm_3gpp_profile_get_allowed_auth (MM3gppProfile *self);
+const gchar *mm_3gpp_profile_get_user (MM3gppProfile *self);
+const gchar *mm_3gpp_profile_get_password (MM3gppProfile *self);
+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);
/*****************************************************************************/
/* ModemManager/libmm-glib/mmcli specific methods */
@@ -122,12 +125,13 @@ gboolean mm_3gpp_profile_consume_variant (MM3gppProfile *self,
GError **error);
typedef enum {
- MM_3GPP_PROFILE_CMP_FLAGS_NONE = 0,
- MM_3GPP_PROFILE_CMP_FLAGS_NO_PROFILE_ID = 1 << 1,
- MM_3GPP_PROFILE_CMP_FLAGS_NO_PROFILE_NAME = 1 << 2,
- MM_3GPP_PROFILE_CMP_FLAGS_NO_AUTH = 1 << 3,
- 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_NONE = 0,
+ MM_3GPP_PROFILE_CMP_FLAGS_NO_PROFILE_ID = 1 << 1,
+ MM_3GPP_PROFILE_CMP_FLAGS_NO_PROFILE_NAME = 1 << 2,
+ MM_3GPP_PROFILE_CMP_FLAGS_NO_AUTH = 1 << 3,
+ 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,
} MM3gppProfileCmpFlags;
gboolean mm_3gpp_profile_cmp (MM3gppProfile *a,