libmm-glib: add helper to get 3gpp facility from string
This commit is contained in:
committed by
Aleksander Morgado
parent
2a2ae2819c
commit
b1dde0aec3
@@ -877,6 +877,16 @@ mm_common_get_apn_type_from_string (const gchar *str,
|
||||
error);
|
||||
}
|
||||
|
||||
MMModem3gppFacility
|
||||
mm_common_get_3gpp_facility_from_string (const gchar *str,
|
||||
GError **error)
|
||||
{
|
||||
return _flags_from_string (MM_TYPE_MODEM_3GPP_FACILITY,
|
||||
str,
|
||||
MM_MODEM_3GPP_FACILITY_NONE,
|
||||
error);
|
||||
}
|
||||
|
||||
GArray *
|
||||
mm_common_oma_pending_network_initiated_sessions_variant_to_garray (GVariant *variant)
|
||||
{
|
||||
|
||||
@@ -88,6 +88,9 @@ MMBearerMultiplexSupport mm_common_get_multiplex_support_from_string (const gcha
|
||||
MMBearerApnType mm_common_get_apn_type_from_string (const gchar *str,
|
||||
GError **error);
|
||||
|
||||
MMModem3gppFacility mm_common_get_3gpp_facility_from_string (const gchar *str,
|
||||
GError **error);
|
||||
|
||||
GArray *mm_common_ports_variant_to_garray (GVariant *variant);
|
||||
MMModemPortInfo *mm_common_ports_variant_to_array (GVariant *variant,
|
||||
guint *n_ports);
|
||||
|
||||
Reference in New Issue
Block a user