diff options
Diffstat (limited to 'libmm-glib/mm-3gpp-profile.h')
-rw-r--r-- | libmm-glib/mm-3gpp-profile.h | 66 |
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, |